add 列表
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
module.exports = {
|
||||
css: {
|
||||
loaderOptions: {
|
||||
less: {
|
||||
// 自定义主题样式
|
||||
// modifyVars: {
|
||||
// 'primary-color': '#41B883',
|
||||
// 'link-color': '#41B883',
|
||||
// 'border-radius-base': '2px'
|
||||
// }
|
||||
// 解决问题主要需要打开这个
|
||||
javascriptEnabled: true
|
||||
}
|
||||
}
|
||||
},
|
||||
devServer: {
|
||||
port: 8080,
|
||||
proxy: {
|
||||
/* '/api': {
|
||||
target: 'https://mock.ihx.me/mock/5baf3052f7da7e07e04a5116/antd-pro', //mock API接口系统
|
||||
ws: false,
|
||||
changeOrigin: true,
|
||||
pathRewrite: {
|
||||
'/laws-sinotruk': '' //默认所有请求都加了jero-boot前缀,需要去掉
|
||||
}
|
||||
}, */
|
||||
'/laws-sinotruk': {
|
||||
target: 'http://localhost:8184',
|
||||
ws: false,
|
||||
changeOrigin: true,
|
||||
pathRewrite: {
|
||||
// '/laws-sinotruk': '' // 默认所有请求都加了jero-boot前缀,需要去掉
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user