Closed xiaohanyu closed 2 months ago
workbox seems to be the defac to way to enable PWA for a web site. We want to integrate it and avoid re-invent wheels.
### Tasks - [x] decide which lib/framework to use for PWA adoption - [x] install necessary libs to project - [x] check debug/production environment difference
We decided to use serwist, reasons:
There're some difference for cache behaviour when process.env.NODE_ENV is switching from development to production
process.env.NODE_ENV
development
production
Overall serwist is pretty good, though its docs is not very complete.
Description
workbox seems to be the defac to way to enable PWA for a web site. We want to integrate it and avoid re-invent wheels.
[Optional] Possible Solutions
Acceptance Criteria
Todo list