美文网首页
vue搭建脚手架 出现问题Command vue init re

vue搭建脚手架 出现问题Command vue init re

作者: 最慢的是活着 | 来源:发表于2022-02-16 15:53 被阅读0次

使用vue init webpack my-App 创建项目回车时显示
Command vue init requires a global addon to be installed.
Please run yarn global add @vue/cli-init and try again.


1644998012(1).png

解决方法:npm install -g @vue/cli-init

重新创建成功

相关文章

网友评论

      本文标题:vue搭建脚手架 出现问题Command vue init re

      本文链接:https://www.haomeiwen.com/subject/rbldlrtx.html