-
Notifications
You must be signed in to change notification settings - Fork 0
/
vue.config.js
39 lines (39 loc) · 908 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
30
31
32
33
34
35
36
37
38
39
module.exports = {
devServer: {
host: 'cvbp.jeziordev',
proxy: {
'^/api': {
target: 'https://cvbp.jeziordev',
ws: true,
changeOrigin: true,
},
},
},
publicPath: '/',
outputDir: 'web',
assetsDir: '',
indexPath: '../templates/index.html',
chainWebpack: (config) => {
config.plugin('html').tap((args) => {
args[0].title = 'CraftCMS VueJS Boilerplate'
args[0].environment = process.env.NODE_ENV
return args
})
},
pwa: {
name: 'CraftCMS VueJS Boilerplate',
themeColor: '#ffffff',
msTileColor: '#ffffff',
manifestOptions: {
background_color: '#ffffff',
},
appleMobileWebAppCapable: 'yes',
workboxOptions: {
navigateFallback: '/',
navigateFallbackBlacklist: [
new RegExp('^(\\/?)(admin)(\\/?)(.*)'),
// new RegExp('^(\\/?)(sitemap.xml)')
],
},
},
}