Svelte 5 demo project

Demo

GitHub Pages
Storybook

Developing

npm install  
npm run dev -- --open

Building (static site generation)

Svelte adapter-static is activated.
Check svelte.config.js to set kit: paths: base accordingly.

  • base: '' (leave empty for developing, project will show in localhost:5174/)
  • base: '/your-repository-name' (for deploying GitHub Pages, project will work in subfolder /your-repository-name/)
npm run build

You can preview the production build with npm run preview.

To deploy your app, you may need to install an adapter for your target environment.

Top categories

svelte logo

Need a Svelte website built?

Hire a professional Svelte developer today.
Loading Svelte Themes