摘要:
需求我们要访问后台的数据,但因为后台的端口号不一致所以需要实现跨域 未跨域 // 请求接口 后台的接口为5001 我们本地的接口为8080,所以我们需要去到vue.config.js配置跨域 http://localhost:5001/api/ this.$axios.post('http://lo 阅读全文
posted @ 2019-11-27 21:09
whoamimy
阅读(14591)
评论(3)
推荐(0)
摘要:
安装vue-cli npm install -g @vue/cli # OR yarn global add @vue/cli 安装完成查看版本 查看版本 vue -V 如果报错:vue : 无法加载文件 C:\Users\xxx\AppData\Roaming\npm\vue ... 1.管理员身 阅读全文
posted @ 2019-11-27 20:50
whoamimy
阅读(1267)
评论(0)
推荐(1)

浙公网安备 33010602011771号