Skip to content

Commit 4ae98a6

Browse files
committed
Update examples
1 parent ef74919 commit 4ae98a6

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

examples/custom-ts-worker/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Then service worker generated will automatically import your code and run it bef
3636
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/shadowwalker/next-pwa/)
3737

3838
``` bash
39-
cd examples/custom-server
39+
cd examples/custom-ts-server
4040
yarn install
4141
yarn build
4242
yarn start

examples/next-image/README.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,12 @@ This example demonstrates how to use `next-pwa` plugin to turn a `next.js` based
88

99
Thanks to **Next.js 9+**, we can use `public` folder to serve static files from root url path. It cuts the need to write custom server only to serve those files. Therefore the setup is more easy and concise. We can use `next.config.js` to config `next-pwa` to generates service worker and precache files into `public` folder.
1010

11-
> [Check out the lighthouse summary](https://github.com/shadowwalker/next-pwa/blob/master/examples/next-9/lighthouse.pdf), or run the test your self.
12-
1311
## Usage
1412

1513
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/shadowwalker/next-pwa/)
1614

1715
``` bash
18-
cd examples/next-9
16+
cd examples/next-image
1917
yarn install
2018
yarn build
2119
yarn start

examples/offline-fallback-v2/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ pwa: {
2929
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/shadowwalker/next-pwa/)
3030

3131
``` bash
32-
cd examples/offline-fallback
32+
cd examples/offline-fallback-v2
3333
yarn install
3434
yarn build
3535
yarn start

0 commit comments

Comments
 (0)