svelte-starter Svelte Themes

Svelte Starter

Svelte starter POC with router, nested routes, route change hooks, private routes, authentication and http using fetch api.

Svelte starter

Svelte starter POC with router, nested routes, route change hooks, private routes, authentication and http using fetch api.

Development

Requires Node.js 8.4.0+

npm i
npm run dev

Open http://localhost:8001

Authentication

Update the /src/config/config.js with your own api settings.

Router

IDE Support

WebStorm IDE has some quirks with Svelte handlebar syntax. To fix update these settings:

  • Preferences > Disable XML in inspections
  • Preferences > Disable Unknown html tag attribute

Top categories

Loading Svelte Themes