1,安装vue-cli npm install --global vue-cli (全局安装) 2,安装完成以后,用cmd进入自己的工作空间 进入以后,vue init webpack test命令行创建项目,终端会出现这种