您的位置:首页技术文章
文章详情页

javascript - Vue启动时弹出错误 Failed to compile with 1 errors

浏览:10日期:2022-12-28 08:18:20

问题描述

javascript - Vue启动时弹出错误 Failed to compile with 1 errors

javascript - Vue启动时弹出错误 Failed to compile with 1 errors

vue已经成功引入了,为什么还会报这个错呢, 我之前把vue2删了,换成了vue1.报错内容:

ERROR Failed to compile with 1 errorsThis dependency was not found:* vue in ./src/main.jsTo install it, you can run: npm install --save vue> Listening at http://localhost:8080

求解决啊~到底是什么问题

问题解答

回答1:

报错信息提示你 需要安装vue 命令都写着呢

标签: JavaScript
相关文章: