SvelteKit Starter

Get started

NOTE: Before using this template, you need to install pnpm.

Create a new project based on this template using degit:

pnpx degit CitRUSprod/svelte-kit-starter my-app
cd my-app
pnpm i

Run in development mode:

pnpm dev

Build and run in production mode:

pnpm build
pnpm start

Link: http://localhost:6400

Tools

Commit with commitizen:

pnpm commit

Check types with svelte-check:

pnpm validate

Lint with prettier, stylelint and eslint:

pnpm lint

Format with prettier, stylelint and eslint:

pnpm format

Environment variables

All environment variables are written to the .env file. If it doesn't exist, just enter this command:

cp .env.example .env

Top categories

svelte logo

Need a Svelte website built?

Hire a professional Svelte developer today.
Loading Svelte Themes