| | |
| | | // css: {}, |
| | | // postcss: { |
| | | // plugins: [ |
| | | // require('postcss-px2rem')({ |
| | | // requirae('postcss-px2rem')({ |
| | | // remUnit: 192// /设计图宽度/10 |
| | | // }) |
| | | // ] |
| | |
| | | }, |
| | | proxy: { |
| | | [process.env.VUE_APP_BASE_API]: { |
| | | // target: 'http://192.168.1.190:8000', // 请求的第三⽅接⼝地址 本地开发服务器 |
| | | target: 'http://121.196.36.24:8031', // 请求的第三⽅接⼝地址 本地开发服务器 |
| | | // target: 'http://122.227.18.22:8000', // 请求的第三⽅接⼝地址 本地开发服务器 |
| | | target: 'http://121.196.36.24:8031', // 请求的第三⽅接⼝地址 本地测试地址 |
| | | // target: 'http://192.168.21.221:8000', // 请求的第三⽅接⼝地址 客户地址 |
| | | changeOrigin: true, // 请求跨域时,需 配置此项 |
| | | pathRewrite: { // 路径重写,替换target中的请求地址 |
| | | ['^' + process.env.VUE_APP_BASE_API]: '/api/' |