javascript - 运行命令 vue init webpack firstVue时出现如下代码,是什么原因,要fq吗
大家讲道理
大家讲道理 2017-04-11 12:42:53
0
1
1181

This will install Vue 2.x version of the template.

For Vue 1.x use: vue init webpack#1.0 firstVue

vue-cli · Failed to download repo vuejs-templates/webpack: unable to verify
he first certificate

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

répondre à tous(1)
洪涛

即将要安装vue2.x版本的模板
如果要使用vue1.x 请使用命令vue init webpack#1.0 firstVue
下载vuejs模板失败,出现这个问题,应该是npm不稳定造成的,请跟换为淘宝镜像cnpm
使用以下命令安装cnpm

$ npm install -g cnpm --registry=https://registry.npm.taobao.org

安装好了以后,请直接使用以下命令重新安装下vue-cli

cnpm install -g vue-cli

重新再执行以下命令试试

 vue init webpack firstVue
Derniers téléchargements
Plus>
effets Web
Code source du site Web
Matériel du site Web
Modèle frontal
À propos de nous Clause de non-responsabilité Sitemap
Site Web PHP chinois:Formation PHP en ligne sur le bien-être public,Aidez les apprenants PHP à grandir rapidement!