922 B
922 B
Kirby MOIN! Starterkit
This startkit is based on the plainkit, but comes with the following adjustments:
- Custom folder structure with the document root in the
public
folder - Tailwind CSS
- Webpack with Stimulus and Turbo
- Kirby CLI Command
serve
- Plugin that adds "Cache Busting" for JS and CSS files
The serve
command is inspired by the symfony serve
command.
Requirements
- nodejs/npm
- php8.1+
- Kirby CLI
- composer
Install
composer install
npm install
Start local environment
There is a command extension serve
for the Kirby CLI. This will spawn a PHP Development
Server, Tailwind CSS and a Webpack watcher.
kirby serve
Production ready bundle
Run the following command. This will build the css and js into the public folder.
npm run build