Skip to content

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

Notifications You must be signed in to change notification settings

subpx/svelte-starter

Repository files navigation

Svelte starter

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

code style: prettier

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

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published