Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 518 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 518 Bytes

Basic

A basic example

Try it out

Copy example project with degit:

$ npx degit bluwy/svelte-router/examples/basic svelte-app

Install dependencies:

$ cd svelte-app
$ npm install

Run development server:

$ npm run dev

Then, navigate to http://localhost:5000. You should see your app running. Edit a component file in src, save it, and the page will auto reload.

To run in production:

$ npm run build
$ npm run start