Personal starterkit for Kirby based projects.
Tech stack:
- Tailwind CSS
- Alpine JS
- Kirby Plugins
- Composer
- NPM
- PHP server (e.g. Valet Laravel)
-
Go to working folder
-
Clone repo
git clone https://github.com/az3ta/kirby-tailwind-alpine-starter YOUR-PROJECT
cd YOUR-PROJECT
- Install Kirby and dependencies
composer install
composer update getkirby/cms
composer update
- Install NPM dependencies
npm install
- Secure dev address
valet secure
It runs the Tailwind engine for development
npm run watch
It creates the CSS file for production
npm run build