jasonljohn / react-pwa-boilerplate

Simple React PWA setup using Webpack, Workbox and TypeScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting started

yarn install
yarn start

Debugging service workers

You may have noticed that running yarn start doesn't register any service workers.

That's because offline capabilities are confusing during development since you would always see the cached version instead of the latest one with your changes.

You can debug service workers locally by building the production bundle and serving it like this:

yarn run build
yarn run serve

About

Simple React PWA setup using Webpack, Workbox and TypeScript


Languages

Language:TypeScript 51.1%Language:HTML 28.0%Language:JavaScript 18.1%Language:SCSS 2.8%