praetorius/vite-asset-collector

Use AssetCollector to embed frontend assets generated by vite

Installs: 55 249

Dependents: 1

Suggesters: 0

Security: 0

Stars: 41

Watchers: 4

Forks: 12

Open Issues: 5

Type:typo3-cms-extension

1.12.0 2024-10-31 14:22 UTC

README

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.