Did you came here from PWA Workshop? Follow this repo to get started.
A demo application for "Automating a service worker with Workbox 6" (RU) tech talk
Demo hosted on Azure Static Web Apps
Testing offline:
The application itself was created using Angular but everything related to Workbox library is framework-agnostic.
- Source service worker https://github.com/webmaxru/prog-web-news/blob/main/src/service-worker.js
- SW build script https://github.com/webmaxru/prog-web-news/blob/main/workbox-inject.js
- SW bundling config https://github.com/webmaxru/prog-web-news/blob/main/rollup.config.js
- App build command (order is important) https://github.com/webmaxru/prog-web-news/blob/main/package.json#L12