create-svelte

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

Setup

If developing with wrangler, you'll need to install it globally:

npm i -g wrangler

You'll also need to run the local setup for the d1 DB:

npm run dev:build-d1

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 with wrangler/cf bindings
npm run dev:wrangler

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.

Top categories

svelte logo

Need a Svelte website built?

Hire a professional Svelte developer today.
Loading Svelte Themes