-
Place manifest.json and index.html file on your desktop. Open a command prompt and navigate to desktop.
-
Make a .svg or .png icon file for your PWA app, save it to your desktop.
-
Install pwa-asset-generator via npm and generate icon sizes:
npm install --global pwa-asset-generatorpwa-asset-generator icon.svg -i ./index.html -m ./manifest.json
- Upload manifest.json and pwabuilder-sw.js to the root of your web server directory. Use the code from index.html with your existing website.