This repository has been archived on 2024-02-08. You can view files and clone it, but cannot push or open issues or pull requests.
frontend/vue.config.js

69 lines
1.5 KiB
JavaScript
Raw Normal View History

2018-11-25 21:02:22 +00:00
module.exports = {
configureWebpack: {
2020-06-19 19:35:05 +00:00
devtool: 'source-map',
2019-10-16 18:25:10 +00:00
},
2019-12-02 17:59:43 +00:00
productionSourceMap: false,
2019-10-16 18:25:10 +00:00
pwa: {
name: 'Vikunja',
2020-06-12 18:47:31 +00:00
themeColor: '#1973ff',
2019-10-16 18:25:10 +00:00
appleMobileWebAppCapable: 'yes',
workboxPluginMode: 'InjectManifest',
workboxOptions: {
importWorkboxFrom: 'local',
2020-06-19 19:35:05 +00:00
swSrc: 'src/ServiceWorker/sw.js',
2019-10-16 18:25:10 +00:00
},
2020-06-19 19:35:05 +00:00
iconPaths: {
2019-10-16 18:25:10 +00:00
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"
},
{
2020-11-12 20:24:08 +00:00
"src": "./images/icons/android-chrome-512x512.png",
2019-10-16 18:25:10 +00:00
"sizes": "512x512",
"type": "image/png"
2020-11-12 20:24:08 +00:00
},
{
"src": "./images/icons/icon-maskable.png",
"sizes": "1024x1024",
"type": "image/png",
"purpose": "maskable"
},
2019-10-16 18:25:10 +00:00
],
shortcuts: [
{
name: 'Overview',
url: '/',
},
{
name: 'Namespaces And Lists Overview',
short_name: 'Namespaces & Lists',
url: '/namespaces',
},
{
name: 'Tasks Next Week',
short_name: 'Next Week',
url: '/tasks/by/week',
},
{
name: 'Tasks Next Month',
short_name: 'Next Month',
url: '/tasks/by/month',
},
{
name: 'Teams Overview',
short_name: 'Teams',
url: '/teams',
}
]
2019-10-16 18:25:10 +00:00
},
2018-11-25 21:02:22 +00:00
}
}