mirror of
https://gitee.com/dromara/Jpom.git
synced 2024-12-02 11:58:01 +08:00
29 lines
603 B
JavaScript
29 lines
603 B
JavaScript
// vue.config.js
|
|
module.exports = {
|
|
// 输出目录
|
|
outputDir: '../modules/server/src/main/resources/dist',
|
|
// 代理设置
|
|
devServer: {
|
|
proxy: {
|
|
// websocket
|
|
'/ssh': {
|
|
target: 'ws://localhost:2122',
|
|
// true/false: if you want to proxy websockets
|
|
ws: false,
|
|
logLevel: 'debug'
|
|
},
|
|
// http
|
|
'/*': {
|
|
target: 'http://localhost:2122'
|
|
}
|
|
}
|
|
},
|
|
chainWebpack: config => {
|
|
config
|
|
.plugin('html')
|
|
.tap(args => {
|
|
args[0].title= 'Jpom项目管理系统'
|
|
return args
|
|
})
|
|
}
|
|
} |