sveltekit-patterns Svelte Themes

Sveltekit Patterns

create-svelte

Everything you need to build a Svelte project, powered by create-svelte.

Developing

Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:

npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.

Environment variables

Copy the contents .env.example into a new file called .env at the root level. Paste your backend API URL into the env file.

Backend

Go to and clone it. Follow the steps in the read me to run the API locally. You will need to create a firebase project.

Top categories

Loading Svelte Themes