Skip to content

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.

Notifications You must be signed in to change notification settings

preprio/svelte-quick-start

Repository files navigation

Svelte Quick Start

The Svelte quick start project launches a blog app with content from Prepr.

Check out the Stackblitz demo for zero installation.

Setup

Make sure to install the dependencies:

# 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:

cp .env.example .env

Update the environment file

In the .env file replace <YOUR-ACCESS-TOKEN> with the Prepr access token from your environment with demo content.

Development Server

Start the development server.

npm run dev

Production

Build the application for production:

npm run build

You can preview the production build with:

npm run preview

Check out the deployment documentation for more information.

The end result

blog site end result

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •