Svelte Responsive Routing

  • responsive SPA setup
  • routing using page.js
  • responsive using svelte-media.js
  • small: one component per route
  • bigger: 2 components per route, side-by-side
  • protected routes are guarded by 'authed' variable (a writable store)

-----------------------------

Vite template

npm init vite select the svelte option With this, npm run build will generate HTML, JS and CSS files inside the dist directory.

VS Code + Svelte.

Top categories

svelte logo

Need a Svelte website built?

Hire a professional Svelte developer today.
Loading Svelte Themes