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/
查询初始的源
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/