Vite is a bridge between Craft CMS/Twig and the next generation frontend build tool Vite.js
Vite allows for Hot Module Replacement (HMR) of JavaScript, CSS, and Twig (even through errors) during development, as well as optimized production builds.
Vite supports both modern and legacy bundle builds, as per the Deploying ES2015+ Code in Production Today article.
Vite also handles generating the necessary <script>
and <link>
tags to support both synchronous and asynchronous loading of JavaScript and CSS.
Additionally, Vite has a caching layer to ensure optimal performance.
Installation Instructions
To install this plugin, copy the command above to your terminal.
4 Reviews All reviews
5/ 5
Active Installs
18,202
License
MIT
Last release
August 14, 2024
Activity (30 days)
0
Closed Issues
0
Open Issues
0
Merged PRs
1
Open PRs