由于 Windows 系统的某方面问题, vue 脚手架安装可能会出现第一证书丢失
报错: vue-cli . Failed to download repo vuejs-templates/webpack-simple: unable to verify the first certificate
解决方法:
在 https://github.com/vuejs-templates / 下载对应的模板 (template),
把解压出的文件夹放在
C:\Users\Administrator.vue-templates
到项目文件里执行
vue init webpack-simple project --offline
来源: http://www.qdfuns.com/note/13411/2266bd67df76aafe7488f39dc777ccbf.html