vue.config.js 450 B

12345678910111213141516171819
  1. module.exports = {
  2. // 配置路径别名
  3. configureWebpack: {
  4. devServer: {
  5. disableHostCheck: true,
  6. // proxy: {
  7. // '/epidemicapp': {
  8. // target: 'https://wx.hw.hongweisoft.com', //这里后台的地址模拟的;应该填写你们真实的后台接口
  9. // secure:false,
  10. // changOrigin: true, //允许跨域
  11. // pathRewrite: {
  12. // '^/epidemicapp': ''
  13. // }
  14. // },
  15. // },
  16. // disableHostCheck: true
  17. }
  18. }
  19. }