npm的配置
1-1 cnpm 安装
npm install -g cnpm --registry=https://registry.npm.taobao.org
1-2 npm安装
npm config set registry https://registry.npm.taobao.org --global
npm config set disturl https://npm.taobao.org/dist --global
1-3 yarn
npm i yarn -g
yarn config set registry https://registry.npm.taobao.org