安装稳定的vue版本 npm install vue 安装命令行工具 npm install --global vue-cli 创建项目 npm init webpack my-project 这样就可以通过命令行快速创建项目了