From 46375658c2b9c51b78661d17a047ce1faf70b3b4 Mon Sep 17 00:00:00 2001 From: wujingquan Date: Wed, 12 Feb 2020 09:15:47 +0800 Subject: [PATCH] docs(README): update package name (#2744) --- README.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4a665636..36aabe80 100644 --- a/README.md +++ b/README.md @@ -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 ``` ### 方式二. 下载代码