浏览代码

Merge branch 'master' of http://10.1.235.20:3000/asiainfo/ebc.git

konghl 4 年之前
父节点
当前提交
1b874c91fb
共有 1 个文件被更改,包括 15 次插入4 次删除
  1. 15 4
      ebc-middle-platform/.aid/aid.js

+ 15 - 4
ebc-middle-platform/.aid/aid.js

51
  beforeBuild(config) {
51
  beforeBuild(config) {
52
    let result = rules(config)
52
    let result = rules(config)
53
    result.output = {
53
    result.output = {
54
      publicPath: '/energy/'
54
      publicPath: '/'
55
    }
55
    }
56
    return result
56
    return result
57
  },
57
  },
58
  imagePrefix: '/energy/',
59
  staticPrefix: '/energy/',
60
  outputPrefix: '/energy/' // 构建后index.html中资源路径的前缀
58
  outputPrefix: '/' // 构建后index.html中资源路径的前缀
59
  // ,
60
  // proxy: [
61
  //   {
62
  //     url: '/ipu',
63
  //     options: {
64
  //       target: 'http://127.0.0.1:8086',
65
  //       changeOrigin: true,
66
  //       pathRewrite: {
67
  //         '^/ipu': '/'
68
  //       }
69
  //     }
70
  //   },
71
  // ]
61
}
72
}