docs: add more CDN services link (#8648)

This commit is contained in:
neverland 2021-05-02 11:26:18 +08:00 committed by GitHub
parent 511b316074
commit e8b34dfb46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 0 deletions

View File

@ -44,6 +44,12 @@ The easiest way to use Vant is to include a CDN link in the html file, after whi
</script>
```
You can use Vant through these free CDN services:
- [jsdelivr](https://www.jsdelivr.com/package/npm/vant)
- [cdnjs](https://cdnjs.com/libraries/vant)
- [unpkg](https://unpkg.com/)
### CLI
We recommend to use [Vue Cli](https://cli.vuejs.org/) to create a new project.

View File

@ -51,6 +51,12 @@ npm i vant@next -S
</script>
```
你可以通过以下免费 CDN 服务来使用 Vant:
- [jsdelivr](https://www.jsdelivr.com/package/npm/vant)
- [cdnjs](https://cdnjs.com/libraries/vant)
- [unpkg](https://unpkg.com/)
### 通过脚手架安装
在新项目中使用 Vant 时,推荐使用 Vue 官方提供的脚手架 [Vue Cli](https://cli.vuejs.org/zh/) 创建项目并安装 Vant。