安装指令 : npm install -g vue-cli(全局安装)

用webpack 创建项目指令 :vue init webpack  (myproject)

运行已存在项目:到其项目目录下输入指令:npm run dev

init 配置:vue-cli 运行已存在的项目

 

相关文章: