Skip to content

Commit 95ae2a1

Browse files
committed
chore: merge branch 'master' into dev
2 parents 0cba512 + 9e73907 commit 95ae2a1

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

docs/core-plugins/pwa.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ file, or the `"vue"` field in `package.json`.
3131

3232
These options are passed on through to the underlying `workbox-webpack-plugin`.
3333

34+
If you're using the App Shell pattern with the `GenerateSW` mode, you can configure your entry point like this to make sure all your pages load offline:
35+
```js
36+
navigateFallback: 'index.html'
37+
```
38+
3439
For more information on what values are supported, please see the guide for
3540
[`GenerateSW`](https://developers.google.com/web/tools/workbox/modules/workbox-webpack-plugin#full_generatesw_config)
3641
or for [`InjectManifest`](https://developers.google.com/web/tools/workbox/modules/workbox-webpack-plugin#full_injectmanifest_config).
@@ -112,6 +117,13 @@ module.exports = {
112117
msTileColor: '#000000',
113118
appleMobileWebAppCapable: 'yes',
114119
appleMobileWebAppStatusBarStyle: 'black',
120+
121+
// configure the manifest options
122+
manifestOptions: {
123+
display: 'landscape',
124+
background_color: '#42B883'
125+
// ...other Manifest options...
126+
},
115127
116128
// configure the workbox plugin
117129
workboxPluginMode: 'InjectManifest',

docs/dev-guide/ui-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ See [Prompts](#prompts) for more info.
146146

147147
The `data` object contains the JSON result of each config file content.
148148

149-
For example, let's say the user has the following `vue.config.js` in his project:
149+
For example, let's say the user has the following `vue.config.js` in their project:
150150

151151
```js
152152
module.exports = {

0 commit comments

Comments
 (0)