vue.config.js
@@ -16,7 +16,7 @@ // 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/