-
Notifications
You must be signed in to change notification settings - Fork 0
/
vue.config.js
41 lines (41 loc) · 1.03 KB
/
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
40
41
module.exports = {
css: {
loaderOptions: {
sass: {
data: `@import "~@/assets/styles/global.scss";`
}
}
},
pluginOptions: {
'style-resources-loader': {
preProcessor: 'scss',
patterns: []
}
},
devServer: {
proxy: {
'/otc': {
target: 'http://129.211.29.207:8082',
changeOrigin: true,
pathRewrite: {
'^/otc': ''
}
},
'/upload': {
target: 'http://111.231.72.88:8091',
changeOrigin: true,
pathRewrite: {
'^/upload': ''
}
},
'/app/': {
changeOrigin: true,
target: 'http://129.211.29.207:8091',
// 这个是本地的开发调试的环境
pathRewrite: {
'^/app/': '/app/'
}
},
}
}
}