svelte-pwa-template
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "svelte-pwa-template", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"scripts": { | ||
"build": "rollup -c", | ||
"dev": "rollup -c -w", | ||
"start": "sirv public" | ||
"start": "sirv public", | ||
"test": "echo test" | ||
}, | ||
@@ -9,0 +10,0 @@ "devDependencies": { |
@@ -14,5 +14,4 @@ --- | ||
*Note that you will need to have [Node.js](https://nodejs.org) installed.* | ||
_Note that you will need to have [Node.js](https://nodejs.org) installed._ | ||
## Get started | ||
@@ -37,3 +36,2 @@ | ||
## PWA Configuration | ||
@@ -44,7 +42,7 @@ | ||
- For an offline experience edit the `/public/offline.html` file. | ||
- This PWA is installable, the `/public/scripts/install.js` file has the install configuration. You should change the app name in the `logAppInstalled` function. | ||
Note: If you don't want to make the app installable you can remove the script from the `index.html` file in the `public` folder. | ||
- This PWA is installable. For more information on how to use check [this repo](https://github.com/pwa-builder/pwa-install). | ||
Note: If you don't want to make the app installable you can remove the script from the `index.html` file in the `public` folder. | ||
For more info, this template was made following this [tutorial](https://codelabs.developers.google.com/codelabs/your-first-pwapp) | ||
## Building and running in production mode | ||
@@ -51,0 +49,0 @@ |
Sorry, the diff of this file is not supported yet
148851
18
212
52