Skip to content

Commit b554f47

Browse files
author
spoeck
committed
add PWA support
1 parent 4e82826 commit b554f47

File tree

2 files changed

+1506
-1406
lines changed

2 files changed

+1506
-1406
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Inspired by:
1717
- [x] [Redux DevTools Extension](https://github.com/zalmoxisus/redux-devtools-extension)
1818
- [x] [TodoMVC example](http://todomvc.com)
1919
- [x] Hot Reloading
20+
- [x] PWA Support
2021

2122
## How to use
2223

@@ -34,6 +35,16 @@ npm i
3435
npm start
3536
```
3637

38+
## Enable PWA ServiceWorker
39+
Just comment in the following line in the `index.tsx`:
40+
```javascript
41+
// registerServiceWorker();
42+
```
43+
to
44+
```javascript
45+
registerServiceWorker();
46+
```
47+
3748
## The idea behind the example
3849

3950
This example demonstrate how you can use [Create React App](https://github.com/facebookincubator/create-react-app) with [TypeScript](https://github.com/Microsoft/TypeScript).

0 commit comments

Comments
 (0)