1.通过定制的 cnpm 命令行工具代替默认的 npm

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

  2.安装具体模块

  cnpm install [name]

相关文章: