praetorius/vite-asset-collector

Use AssetCollector to embed frontend assets generated by vite

Installs: 58 878

Dependents: 1

Suggesters: 0

Security: 0

Stars: 41

Watchers: 4

Forks: 15

Open Issues: 8

Type:typo3-cms-extension

1.13.0 2024-11-14 17:21 UTC

This package is auto-updated.

Last update: 2024-11-20 13:40:24 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.