1、$ cnpm install vue-cli -g 全局安装一个vue 脚手架,因为全局以后建设项目的时候就不要再去下载了 转载于:https://www.cnblogs.com/tenro/p/7602768.html