配置文件提交

master
zhangdi 1 month ago
parent a3db2b5725
commit 6ee1c080e5
  1. 15
      vue.config.js

@ -1,6 +1,6 @@
module.exports = { module.exports = {
//路径前缀 //路径前缀
publicPath: "/", publicPath: "./",
lintOnSave: true, lintOnSave: true,
productionSourceMap: false, productionSourceMap: false,
chainWebpack: (config) => { chainWebpack: (config) => {
@ -38,7 +38,18 @@ module.exports = {
'/smartpark': { '/smartpark': {
//本地服务接口地址 //本地服务接口地址
// target: 'http://192.168.1.4:8088', // target: 'http://192.168.1.4:8088',
target: 'http://192.168.0.120:8081', target: 'http://atcflight.com:10094/6583e0b6-a422-4c74-aa40-df48e059b4de/lowDurableWebTestFront/smartpark',
//远程演示服务地址,可用于直接启动项目
// target: 'https://saber.bladex.cn/api',
ws: true,
pathRewrite: {
'^/smartpark/': '/'
}
},
'/smartparkAPP': {
//本地服务接口地址
// target: 'http://192.168.1.4:8088',
target: 'http://atcflight.com:10094/6583e0b6-a422-4c74-aa40-df48e059b4de/lowDurableTest',
//远程演示服务地址,可用于直接启动项目 //远程演示服务地址,可用于直接启动项目
// target: 'https://saber.bladex.cn/api', // target: 'https://saber.bladex.cn/api',
ws: true, ws: true,

Loading…
Cancel
Save