- You must have
yarnornpminstalled
- Clone the project
git clone git@github.com:bonsaiilabs/cra-custom-serviceworker.git- Install
serveif not installed already
npm install serve -g- Create production build
npm run build- Run
serve -s buildYour app with custom service worker is now running at http://localhost:5000