-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvue.config.js
29 lines (27 loc) · 863 Bytes
/
vue.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Inside vue.config.js
module.exports = {
baseUrl: "/",
// ...other vue-cli plugin options...
pwa: {
name: "The good mobile Ui",
short_name: "Good mobile Ui",
themeColor: '#b93028',
background_color: "#ffffff",
msTileColor: '#ffffff"',
appleMobileWebAppCapable: 'yes',
appleMobileWebAppStatusBarStyle: 'black',
iconPaths:{
favicon32: 'img/icons/favicon-32x32.png',
favicon16: 'img/icons/favicon-16x16.png',
appleTouchIcon: 'img/icons/icon-152x152.png',
msTileImage: 'img/icons/icon-144x144.png'
},
// configure the workbox plugin
workboxPluginMode: 'InjectManifest',
workboxOptions: {
// swSrc is required in InjectManifest mode.
swSrc: './src/sw.js',
// ...other Workbox options...
}
}
}