https://github.com/preprio/svelte-quick-start
The Svelte Quick Start package covers the basics of connecting Prepr CMS with Svelte. With the provided steps, you can make a basic blog in less than 10 minutes.
https://github.com/preprio/svelte-quick-start
svelte sveltekit sveltekit-template
Last synced: 3 months ago
JSON representation
The Svelte Quick Start package covers the basics of connecting Prepr CMS with Svelte. With the provided steps, you can make a basic blog in less than 10 minutes.
- Host: GitHub
- URL: https://github.com/preprio/svelte-quick-start
- Owner: preprio
- Created: 2023-05-25T14:32:22.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-31T09:38:25.000Z (4 months ago)
- Last Synced: 2025-02-28T21:04:39.355Z (3 months ago)
- Topics: svelte, sveltekit, sveltekit-template
- Language: JavaScript
- Homepage:
- Size: 91.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Svelte Quick Start
The Svelte quick start project launches a blog app with content from Prepr.Check out the [Stackblitz demo](https://stackblitz.com/edit/svelte-quick-start) for zero installation.
## Setup
Make sure to install the dependencies:
```bash
# npm
npm install
```## Add the environment file
Copy the .env.example file in this directory to .env (which will be ignored by Git) by running the following command:```bash
cp .env.example .env
```## Update the environment file
In the .env file replace `` with the Prepr access token from your environment with demo content.## Development Server
Start the development server.
```bash
npm run dev
```## Production
Build the application for production:
```bash
npm run build
```You can preview the production build with:
```bash
npm run preview
```Check out the [deployment documentation](https://kit.svelte.dev/docs/building-your-app) for more information.
## The end result
