praetorius/vite-asset-collector

Use AssetCollector to embed frontend assets generated by vite

Installs: 45 728

Dependents: 1

Suggesters: 0

Security: 0

Stars: 40

Watchers: 4

Forks: 10

Open Issues: 10

Type:typo3-cms-extension

1.11.0 2024-08-03 07:08 UTC

This package is auto-updated.

Last update: 2024-09-15 18:12:11 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.