npm
npm config set registry https://registry.npm.taobao.org
yarn
yarn config set registry https://registry.npm.taobao.org --global
yarn config set disturl https://npm.taobao.org/dist --global
npm
npm config set registry https://registry.npm.taobao.org
yarn
yarn config set registry https://registry.npm.taobao.org --global
yarn config set disturl https://npm.taobao.org/dist --global