Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
in Q2A Core by
It's quite complicated to me to understand within 1 minute.
Q2A version: 1.8.3

1 Answer

0 votes
My own guide:

1. Create a file named manifest.json (in root folder), then copy and paste code. Adjust with your own start_url .
Make sure you have an image file that is at least 512 px wide.
2. Insert a javacript code to register another javascript file named sw.js
3. Copy "install", "fetch", "activate" code parts and compile it in a single file named sw.js. Adjust with your own CSS and JS.
4. Install Chrome Lighthouse extension and test.