Skip to content

PWA ​

QuestionFlag
Enable PWA support?--pwa / --no-pwa

--pwa makes the web app installable, with vite-plugin-pwa: a manifest, icons made from public/logo by @vite-pwa/assets-generator, and a service worker that caches the app for offline starts.

Installed apps stay on the latest version: when a new deployment is found, the PwaUpdate type from @inglorious/web/pwa switches to it. Inside the native apps the service worker stays off, since they update through the stores and live updates.

--push turns PWA support on, and can't be combined with --no-pwa.

Released under the MIT License.