Allows the use of the Vite.js next generation frontend tooling with Craft CMS
Related Article: Vite.js Next Generation Frontend Tooling + Craft CMS
Most of the magic is actually in the nystudio107/craft-plugin-vite package, so that Craft CMS plugins can use it too.
This plugin requires Craft CMS 4.0.0 or later.
Installation
- Install with Composer via
composer require nystudio107/craft-vite
from your project directory - Install the plugin via
php craft install/plugin vite
via the CLI -or- in the Craft Control Panel under Settings > Plugins
You can also install Vite via the Plugin Store in the Craft Control Panel.
Click here -> Vite Documentation
Brought to you by nystudio107