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:5000. 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:
deploy
task will run 3 tasks:
updateTime
: update time string in page headerbuild
: build jsbuild-sw
: update service worker for PWA