To create a new project based on this template using degit:
npx degit tretapey/svelte-pwa my-svelte-pwa
Note that you will need to have Node.js installed.
Install the dependencies...
...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
manifest.json files are in the
index.html file in the
For more info, this template was made following this tutorial
To create an optimised version of the app:
npm run build