A simple Kirby Starterkit with a custom folder structure and Tailwind CSS. It uses a public folder as a document root.
Find a file Use this template
2025-08-26 12:21:56 +02:00
content feat: initial commit 2025-08-22 10:18:22 +02:00
public feat: initial commit 2025-08-22 10:18:22 +02:00
site feat: added webpack, stimulus and turbo 2025-08-26 11:59:30 +02:00
src feat: added webpack, stimulus and turbo 2025-08-26 11:59:30 +02:00
storage feat: initial commit 2025-08-22 10:18:22 +02:00
.editorconfig feat: initial commit 2025-08-22 10:18:22 +02:00
.gitignore feat: added webpack, stimulus and turbo 2025-08-26 11:59:30 +02:00
.htaccess feat: initial commit 2025-08-22 10:18:22 +02:00
composer.json chore: updated readme.md and composer.json 2025-08-26 12:21:56 +02:00
package.json feat: added webpack, stimulus and turbo 2025-08-26 11:59:30 +02:00
README.md chore: updated readme.md and composer.json 2025-08-26 12:21:56 +02:00
webpack.config.js feat: added webpack, stimulus and turbo 2025-08-26 11:59:30 +02:00

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

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