| | |
| | | const defaultSettings = require("./src/settings.js"); |
| | | // 代理目标地址(后端服务),例如: http://172.17.0.1:8080 |
| | | // 启动时可通过环境变量覆盖:VUE_APP_PROXY_TARGET=... |
| | | const baseUrl = process.env.VUE_APP_PROXY_TARGET || "http://1.15.17.182/:9031"; |
| | | const baseUrl = process.env.VUE_APP_PROXY_TARGET || "http://1.15.17.182:9031"; |
| | | |
| | | function resolve(dir) { |
| | | return path.join(__dirname, dir); |
| | |
| | | // For example, Mac: sudo npm run |
| | | // You can change the port by the following method: |
| | | // port = 9527 npm run dev OR npm run dev --port = 9527 |
| | | // 固定开发服务端口:确保外部可访问 `172.17.0.1:9031` |
| | | // 固定开发服务端口:确保外部可访问 `1.15.17.182:9031` |
| | | const port = 9001; // dev port |
| | | |
| | | // All configuration item explanations can be find in https://cli.vuejs.org/config/ |