使用了npm install axios --save后运行项目会报错提示没有找到依赖是怎么回事

来源:7-9 Vue项目首页 - 使用 axios 发送 ajax 请求

南十九道街

2021-01-21

使用了npm install axios --save后运行项目会报错提示没有找到依赖是怎么回事

 ERROR  Failed to compile with 1 errors                                                                    

This dependency was not found:


* .axios in ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/home/Home.vue


To install it, you can run: npm install --save .axios


写回答

1回答

Dell

2021-01-21

这个很奇怪,是不是网络的问题?换手机热点试试 

0
4
Dell
回复
南十九道街
好的!
2021-01-24
共4条回复

Vue2.5-2.6-3.0开发去哪儿网App 零基础入门到实战

课程紧跟Vue3版本迭代,企业主流版本Vue2+Vue3全掌握

10733 学习 · 8206 问题

查看课程