-
Notifications
You must be signed in to change notification settings - Fork 210
/
vue.config.js
41 lines (41 loc) · 1.73 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
var path = require('path');
module.exports = {
devServer: {
proxy: {
'^/rest': {
//target: 'http://localhost:8082',
target: 'https://v1.quant-ux.com',
ws: true,
changeOrigin: true
},
'^/ai': {
target: 'https://v1.quant-ux.com',
ws: true,
changeOrigin: true
}
}
},
chainWebpack: config => {
config.resolve.alias.set('src', path.resolve('src'))
config.resolve.alias.set('assets', path.resolve('src/assets'))
config.resolve.alias.set('components', path.resolve('src/components'))
config.resolve.alias.set('dojo', path.resolve('src/dojo'))
config.resolve.alias.set('common', path.resolve('src/common'))
config.resolve.alias.set('vommond', path.resolve('src/vommond'))
config.resolve.alias.set('views', path.resolve('src/views'))
config.resolve.alias.set('canvas', path.resolve('src/canvas'))
config.resolve.alias.set('page', path.resolve('src/page'))
config.resolve.alias.set('user', path.resolve('src/user'))
config.resolve.alias.set('core', path.resolve('src/core'))
config.resolve.alias.set('dash', path.resolve('src/dash'))
config.resolve.alias.set('public', path.resolve('src/public'))
config.resolve.alias.set('services', path.resolve('src/services'))
config.resolve.alias.set('nls', path.resolve('src/nls'))
config.resolve.alias.set('themes', path.resolve('src/themes'))
config.resolve.alias.set('export', path.resolve('src/export'))
config.resolve.alias.set('examples', path.resolve('src/examples'))
config.resolve.alias.set('help', path.resolve('src/help'))
config.resolve.alias.set('player', path.resolve('src/player'))
config.resolve.alias.set('style', path.resolve('src/style'))
}
}