npm换淘宝源 yarn换淘宝源

查询初始的源

npm get registry

> https://registry.npmjs.org/

设置淘宝源

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

yarn config set registry http://registry.npm.taobao.org/

posted @ 2018-11-02 13:23  chenjingchun  阅读(1329)  评论(0编辑  收藏  举报