Psst — looking for a shareable component template? Go here --> sveltejs/component-template
This is a project template for Svelte apps. It lives at https://github.com/sveltejs/template.
Install the dependencies & copy assets to public folder...
make init;
...then start Rollup:
npm run dev
Navigate to localhost:1510. You should see your app running. Edit a component file in src
, save it, and reload the page to see your changes.
make deploy
ps: Be care of <base />
tag when develop.