Jpom/web-vue/vue.config.js
2020-12-01 18:42:53 +08:00

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
})
}
}