Update readme.md

This commit is contained in:
含脂肪的沙茶酱
2020-10-04 23:19:22 +08:00
committed by GitHub
parent 402eb78054
commit ecba7681c9

View File

@ -1,4 +1,4 @@
***短链接http://8rr.co/6stM***
### git下载
@ -6,6 +6,13 @@
https://npm.taobao.org/mirrors/git-for-windows/
npm/yarn下载组件方面均可使用淘宝镜像
```
npm install -g cnpm --registry=https://registry.npm.taobao.org
yarn config set registry https://registry.npm.taobao.org
```
### host
将以下host复制进`C:\Windows\System32\drivers\etc\hosts`,再使用命令行输入`ipconfig /flushdns`刷新dns缓存。目的此host只为解除红色镰刀锤对GitHubasw、ssh下载及克隆的网络限制干扰