Skip to content

Bundle your TYPO3 frontend assets with Vite

License

Notifications You must be signed in to change notification settings

s2b/vite-asset-collector

Repository files navigation

Vite AssetCollector for TYPO3

Maintainability Test Coverage tests Total downloads TYPO3 versions Latest version

Vite AssetCollector allows you to use the modern frontend bundler vite to build your TYPO3 project's frontend assets.

Documentation

Documentation on docs.typo3.org

tl;dr

composer req praetorius/vite-asset-collector
npm install --save-dev vite vite-plugin-typo3
  • Include PlugIn in vite config
  • Add Configuration/ViteEntrypoints.json to extension(s)
  • Add <vac:asset.vite /> to template
  • Run vite server
  • Have fun!

Discussion & Support

You can join #vite on TYPO3 Slack to discuss anything about vite and TYPO3.

Feel free to contact me directly if you are interested in a (paid) workshop to introduce vite to your TYPO3 projects.