Starter project for a vanilla application deployable as a PWA.
- index.html - main html of your project
- main.js - entry point to the javascript for your project
https://css-tricks.com/vitepwa-plugin-offline-service-worker/ TIP
Check out the PWA Assets Generator to generate all the icons and images required for your PWA application.
You can also use PWA Builder Image Generator to generate all your PWA application's icons.
- change relevant files
- base
- manifest: name, short_name, description
- icon and favicon paths (if names are different)
- name
- scripts: publish
npm run buildnpm run preview