淘宝 NPM 镜像

使用说明 : 更多见  https://npm.taobao.org

你可以使用我们定制的 cnpm (gzip 压缩支持) 命令行工具代替默认的 npm:

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

建议安装新的  cnpm ,而不是把 npm 的地址给换了。

后面安装其他包内容  使用   cnpm 替代 npm 即可

如:  npm  install   ***  --save

posted @ 2017-05-18 16:06  前端js  阅读(1048)  评论(0编辑  收藏  举报