vue搭建脚手架 出现问题Command vue init requires a global addon to be installed.

使用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.

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

然后创建项目,正常。


原文链接:https://blog.csdn.net/qq_42429367/article/details/105616392

原文地址:https://www.cnblogs.com/onesea/p/15514688.html