A boilerplate for Crash 31 utilizing a Vite buildchain for frontend tooling.
Setup Local File Structure:
git clone https://github.com/crash31/craft-vite.git
cd project-name && rm -rf .git
git init
composer install
yarn
Setup Notes:
- Copy
.env.example
to.env
- Configure
PRIMARY_SITE_URL
with your local development url - Setup and configure a local database
- Once composer dependencies are installed run
php craft setup
. If you get an error runchmod +x ./craft