β οΈ Work in progress - use at your own risk
This repo is my own starterkit for Kirby 3 projects with SvelteKit. Featuring Kirby CMS and Kirby Headless.
- In Terminal, go to your production folder:
cd path/to/my/folder
- Clone this repository with the submodules
git clone https://github.com/sinanatra/kirby-sveltekit NAME-OF-MY-FOLDER
cd NAME-OF-MY-FOLDER
git clone --depth=1 https://github.com/sinanatra/kirby-headless.git admin/
rm -rf ./admin/.git
- Install and run Kirby
cd admin
composer install
composer update
composer start
- Create an API user at
{url}/panel
.
- Separately install dependencies with yarn
cd ../
yarn
- Run and build the development environment.
yarn dev
yarn build
.
ββββ admin
β βββ content
β βββ kirby
β βββ media
β βββ site
β β βββ blueprints
β β β βββ users
β β β βββ api.yml
β β β βββ default.yml
β β βββ config
β β β βββ config.php
β β βββ plugins
β β βββ kql
β βββ vendor
β
βββ src
β βββ components
β βββ routes
β βββ +layout.svelte
β βββ +page.svelte
β βββ +page.js
β βββ api
β βββ query
β βββ +server.js
βββ static
βββ package.json
βββ svelte.config.js