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

Latest commit

 

History

History
47 lines (36 loc) · 1.47 KB

README.md

File metadata and controls

47 lines (36 loc) · 1.47 KB

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