vikunja-frontend/vue.config.js
2019-10-16 18:25:10 +00:00

36 lines
No EOL
878 B
JavaScript

module.exports = {
configureWebpack: {
devtool: 'source-map'
},
pwa: {
name: 'Vikunja',
themeColor: '#5974d9',
appleMobileWebAppCapable: 'yes',
workboxPluginMode: 'InjectManifest',
workboxOptions: {
importWorkboxFrom: 'local',
swSrc: 'src/ServiceWorker/sw.js',
},
iconPaths:{
favicon32: 'images/icons/favicon-32x32.png',
favicon16: 'images/icons/favicon-16x16.png',
appleTouchIcon: 'images/icons/apple-touch-icon-152x152.png',
maskIcon: 'images/icons/safari-pinned-tab.svg',
msTileImage: 'images/icons/msapplication-icon-144x144.png',
},
manifestOptions: {
"icons": [
{
"src": "./images/icons/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "./images/icons/android-chrome-192x192.png",
"sizes": "512x512",
"type": "image/png"
}
],
},
}
}