Skip to content

Latest commit

 

History

History
executable file
·
31 lines (19 loc) · 866 Bytes

README.md

File metadata and controls

executable file
·
31 lines (19 loc) · 866 Bytes

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