Skip to content

Latest commit

 

History

History

basic

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

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