vue-cli构建手机端项目如何手机上测试

1:找到config文件夹下的index.js文件,打开

2:将host值设置成本机ip

3:重新启动项目即可

猜你喜欢

转载自blog.csdn.net/ZhushiKezhang/article/details/81114401