青鸟官网
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

21 lines
647 B

module.exports = {
transpileDependencies: true,
publicPath: "/",
outputDir: "dist",
assetsDir: "static",
devServer: {
port: 8888, //前端服务启动的端口号
host: 'localhost', //前端服务启动后的访问ip,默认为localhost, host和port组成了前端服务启动后的访问入口。
https: false,
open: true,
proxy: {
'/apis': { //拦截上下文
target: 'http://192.168.1.102:9103',
changeOrigin: true, //是否跨域
pathRewrite: {
"^/apis": ""
}
}
}
}
};