vikunja-frontend/vue.config.js
sytone 306a926c66 Add default list setting & creating tasks from home (#520)
Co-authored-by: sytone <github@sytone.com>
Co-authored-by: Sytone <github@sytone.com>
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/520
Reviewed-by: konrad <konrad@kola-entertainments.de>
Co-authored-by: sytone <kolaente@sytone.com>
Co-committed-by: sytone <kolaente@sytone.com>
2021-07-17 21:21:46 +00:00

69 lines
No EOL
1.5 KiB
JavaScript

module.exports = {
configureWebpack: {
devtool: 'source-map',
},
productionSourceMap: false,
pwa: {
name: 'Vikunja',
themeColor: '#1973ff',
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-512x512.png',
'sizes': '512x512',
'type': 'image/png',
},
{
'src': './images/icons/icon-maskable.png',
'sizes': '1024x1024',
'type': 'image/png',
'purpose': 'maskable',
},
],
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',
},
],
},
},
}