Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 827 Bytes

README.md

File metadata and controls

36 lines (23 loc) · 827 Bytes

Psst — looking for a shareable component template? Go here --> sveltejs/component-template


svelte app

This is a project template for Svelte apps. It lives at https://github.com/sveltejs/template.

Get started

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.

Deploying to the web

make deploy

ps:
deploy task will run 3 tasks:

  • updateTime: update time string in page header
  • build: build js
  • build-sw: update service worker for PWA