A powerful and performant integration of Vite, UnoCSS and Kirby. This project seeks to provide a best practice that combines these three solutions while focusing on the developer experience.
- Duplicate the
.env.development.example
as.env
:cp .env.development.example .env
- Install the required npm dependencies:
pnpm install
- Install the required Composer dependencies:
composer install
- Start the Vite development server and watch for file changes accordingly:
pnpm run dev
- Run the PHP built-in web server or use a development web server of your choice (like Laravel Valet).
composer start
Build the frontend assets:
pnpm run build
Note
See ploi-deploy.sh for deployment instructions.
MIT License ยฉ 2021-PRESENT Johann Schopplich