Vite
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.
- Active Installs
- 14,677
- License
- MIT
- Last release
- June 7, 2023
- Activity (30 days)
- 3Closed Issues1Open Issues0Merged PRs2Open PRs