-
Notifications
You must be signed in to change notification settings - Fork 4
/
vue.conf.js
34 lines (34 loc) · 904 Bytes
/
vue.conf.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
module.exports = {
// Project deployment base
// By default we assume your app will be deployed at the root of a domain,
// e.g. https://www.my-app.com/
// If your app is deployed at a sub-path, you will need to specify that
// sub-path here. For example, if your app is deployed at
// https://www.foobar.com/my-app/
// then change this to '/my-app/'
publicPath: process.env.NODE_ENV === 'production'
? '/covenant-scan/'
: '/',
devServer: {
host: 'localhost',
},
chainWebpack: config => {
config.module
.rule('vue')
.use('vue-svg-inline-loader')
.loader('vue-svg-inline-loader')
.options({})
},
css: {
loaderOptions: {
less: {
modifyVars: {
'primary-color': '#016DE6',
'link-color': '#016DE6',
'border-radius-base': '4px',
},
javascriptEnabled: true,
},
},
},
}