Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 801 Bytes

START.md

File metadata and controls

33 lines (22 loc) · 801 Bytes

Get started

Install the dependencies...

npm install

...then start Rollup:

npm run dev

Navigate to localhost:5000. You should see your app running. Edit a component file in src, save it, and reload the page to see your changes.

By default, the server will only respond to requests from localhost. To allow connections from other computers, edit the sirv commands in package.json to include the option --host 0.0.0.0.

Building and running in production mode

To create an optimised version of the app:

npm run build

To start your own svelte project

https://github.com/sveltejs/template

npx degit sveltejs/template svelte-app
cd svelte-app