This repository contains the solution for the Kontent.ai Kickstart Sample Svelte App. It serves as a learning resource for those starting new projects with Kontent.ai using Svelte 5 with Runes, providing a foundational template to build upon.
If you'd like to explore a fully set up Kontent.ai project, you can import content from one of the backups located in the ./scripts/backups
folder.
npm run model:import --filename="<path-to-the-script>"
Please read our Contributing Guidelines for more details.
This project adheres to a Code of Conduct. By participating, you are expected to uphold this code.
npm ci
to install packages..env
file from .env.template
and fill out all necessary variables.npm run dev
to run the Svelte application in developer mode.npm run build
to build the application for production.npm run check
to run Svelte type checking.After updating the Kickstart application's content model, the TypeScript models must also be regenerated. We've provided a script to automate this process using the Kontent.ai Model Generator.
npm run model:generate
[!NOTE] Ensure that the
.env
file contains theVITE_ENVIRONMENT_ID
andVITE_MANAGEMENT_API_KEY
variables for proper model generation.
This project is licensed under the MIT License - see the LICENSE.md file for details.
If you have any questions or need assistance, please reach out: