Nothing Special   »   [go: up one dir, main page]

Skip to content

[SETUP] SvelteKit frontend for Kirby CMS + KQL backend

Notifications You must be signed in to change notification settings

stuymedova/kirby-sveltekit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kirby SvelteKit

SvelteKit frontend for Kirby + KQL backend.

⚠️ This repository needs to be updated to work with the latest changes, see #5748 and #5774.

Backend Setup

See github.com/stuymedova/kirby-headless

Frontend Setup

Overview

.
├── src
│   └── routes
│       ├── api
│       │   └── […query].js
│       └── index.svelte
└── .env      

Prerequisites

Node.js and npm

Setup

  1. Duplicate .env.example as .env and adapt its values
  2. Run in terminal:
npm install
npm run dev # or npm run build/preview

Result

kirby-sveltekit