docs: improve mirror registry (#18788)

This commit is contained in:
thinkasany 2024-11-05 18:57:13 +08:00 committed by GitHub
parent 602622ba8a
commit 98c742272d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -57,7 +57,11 @@ $ yarn add element-plus
$ pnpm install element-plus $ pnpm install element-plus
``` ```
If your network environment is not good, it is recommended to use a mirror registry [cnpm](https://github.com/cnpm/cnpm) or [Alibaba](https://registry.npmmirror.com/). If your network environment is not good, it is recommended to use a mirror registry [cnpm](https://github.com/cnpm/cnpm) or [npmmirror](https://npmmirror.com/).
```shell
npm config set registry https://registry.npmmirror.com
```
## Import in Browser ## Import in Browser