Update readme.md
This commit is contained in:
@ -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只为解除红色镰刀锤对GitHub(asw、ssh)下载及克隆的网络限制干扰
|
||||
|
||||
Reference in New Issue
Block a user