vue 淘宝镜像

1、淘宝镜像安装

npm config set registry https://registry.npm.taobao.org

2配置后可通过下面方式来验证是否成功 
npm config get registry

 

3.通过cnpm使用

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

posted @ 2018-06-07 16:05  luoye7121  阅读(1374)  评论(0编辑  收藏  举报