An opinionated Svelte project starter template with the following baked in:
- Navaid for SPA routing
- Tailwind as CSS utility framework
- Linting with Standardjs rules
Create a new project using degit:
$ npx degit zerodevx/svelte-starter my-project
$ cd my-project
Note that you will need to have Node.js installed.
Install dependencies:
$ npm i
Start the server:
$ npm run dev
Navigate to localhost:5000. You should see the starter template running.
Lint rules follow Standardjs with a few overrides to play nicely with Svelte. To run the linter:
$ npm run lint