svelte-responsive-routing Svelte Themes

Svelte Responsive Routing

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

Loading Svelte Themes