This template is a starter for new projects, mainly developed out of personal needs. It's based on the tools and technologies we work with and might serve as an inspiration to others.
The frontend uses pnpm, is built using Vite with lightingcss as css transformer and minifier. cleacss is preinstalled as css framework. Scripts are handled by Typescript, svelte and taxi are preconfigured if needed.
- distantnative/retour-for-kirby
- femundfilou/kirby-asset-manager
- femundfilou/kirby-image-snippet
- getkirby/cli
- getkirby/staticache
- lukaskleinschmidt/kirby-laravel-vite
- tobimori/kirby-seo
- genxbe/kirby3-ray
- johannschopplich/kirby-plausible
- bnomei/kirby3-dotenv
- timnarr/kirby-obfuscate-email
- junohamburg/kirby-visual-block-selector
This template comes with some prebuild blocks and block extensions.
- Since we don't use the built-in layouts feature but rely on layout-blocks (see fullwidth.yml)
- simple
buttonblock spacerblock to add clearancesvideoblock that supports local videosjumpmarkas a target for buttons and links
This template uses a custom folder setup. The kirby installation is divided by two individual folders public and backend to keep kirby's internal files out of the domain root. Since we're often using pipelines to deploy website updates, the storage folder keeps all static things available, like content, accounts, sessions, logs and license, that don't always change on a website update.
The frontend is the last folder remaining and it's the home of all frontend source files. We're using Vite to build assets and a manifest.json to public/build, where they're consumed by kirby.
- Run
nvm useto switch to the correct node version - Run
pnpm installto install frontend dependencies - Run
pnpm buildto make an initial assets build - Run
composer installto install backend dependencies - Optional: You can run
kirby initto get rid of some of the boilerplate code and naming conventions. The script will guide you through the steps. You have to install the Kirby CLI (globally) to use that command.
MIT
- Tobias Möritz for his work in Kirby Baukausten
- Justus Kraft
