Skip to content

Commit e8d3a3c

Browse files
ky-isyyx990803
authored andcommitted
docs(pwa): Document themeColor and msTileColor (#954)
1 parent fe0c569 commit e8d3a3c

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

packages/@vue/cli-plugin-pwa/README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,17 @@ file, or the `"vue"` field in `package.json`.
3636
module.exports = {
3737
// ...other vue-cli plugin options...
3838
pwa: {
39+
name: 'My App', // used for apple-mobile-web-app-title
40+
themeColor: '#4DBA87',
41+
msTileColor: '#000000',
3942
workboxPluginMode: 'InjectManifest',
4043
workboxOptions: {
4144
// swSrc is required in InjectManifest mode.
4245
swSrc: 'dev/sw.js',
4346
// ...other Workbox options...
44-
},
45-
},
46-
};
47+
}
48+
}
49+
}
4750
```
4851

4952
## Installing in an Already Created Project

0 commit comments

Comments
 (0)