Test of Craft + Vite
- Create a MySQL-compatible database called
craft-vite-boilerplate
composer install
cp env.sample .env
and modify the contents of.env
to match your setup
First, make sure you have NodeJS installed. Then:
npm i
npm start
While the development server is running, you can access the site at http://craft-vite.test
Run npm run build
to build prepare all assets for deployment.