npm下载模块提速方法

通过config配置指向国内镜像源,命令如下

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

然后可以查看是否配置成功

npm config get registry  

 

posted @ 2017-08-03 15:34  OliveKong  阅读(735)  评论(0编辑  收藏  举报