docs(README): update package name (#2744)

This commit is contained in:
wujingquan 2020-02-12 09:15:47 +08:00 committed by GitHub
parent 691c9e4d90
commit 46375658c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,11 +39,14 @@ Vant Weapp 是移动端 Vue 组件库 [Vant](https://github.com/youzan/vant) 的
小程序已经支持使用 npm 安装第三方包,详见 [npm 支持](https://developers.weixin.qq.com/miniprogram/dev/devtools/npm.html?search-key=npm)
```bash
# npm
npm i vant-weapp -S --production
# 通过 npm 安装
npm i @vant/weapp -S --production
# yarn
yarn add vant-weapp --production
# 通过 yarn 安装
yarn add @vant/weapp --production
# 安装 0.x 版本
npm i vant-weapp -S --production
```
### 方式二. 下载代码