到创建Vue项目,即是在输入vue init webpack my-first-vue 回车键之后显示 Command vue init requires a global addon to be installed. Please run npm install -g @vue/cli-init and try again.

到创建Vue项目,即是在输入vue init webpack my-first-vue 回车键之后显示

Command vue init requires a global addon to be installed.

  Please run npm install -g @vue/cli-init and try again.

正确解决方法:

npm install -g @vue/cli-init  

运行这个创建项目

到创建Vue项目,即是在输入vue init webpack my-first-vue 回车键之后显示 Command vue init requires a global addon to be installed. Please run npm install -g @vue/cli-init and try again.

上一篇:数据库-并发一致性问题


下一篇:HTML基础(1)