svelte-spa Svelte Themes

Svelte Spa

Svelte SPA template

Svelte SPA template

This template uses adapter-static and the ssr disabler hook to allow us to make a SPA.

Developing

Once you've installed dependencies with pnpm install, start a development server:

pnpm dev

Building

To create a production version of your app:

pnpm build

You can preview the production build with pnpm preview.

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

Top categories

Loading Svelte Themes