Skip to content
This repository has been archived by the owner on Jun 11, 2019. It is now read-only.

Svelte starter kit — router, state management and testing included.

Notifications You must be signed in to change notification settings

rob-balfre/svelte-starter-kit

Repository files navigation

Svelte starter kit

Svelte starter kit — router, global state management with unit and end-to-end testing included.

Gettting started

Requires Node.js 8.4.0+

npx degit rob-balfre/svelte-starter-kit my-project
cd my-project
npm i
npm run dev

Open http://localhost:9000

To run unit tests open a separate console

npm run unit-test

End-to-end tests are powered by cypress (remember to also run the dev server).

npm run e2e-test

State Management

Router

Unit Testing

End-to-end Testing

IDE Support

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

  • Preferences > Inspections > Disable all XML inspections
  • Preferences > Inspections > Disable Unknown HTML tag attribute
  • Preferences > Inspections > Disable HTML file reference problems

About

Svelte starter kit — router, state management and testing included.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published