Skip to content

Commit ea5d696

Browse files
committed
docs: update README.md
1 parent 318a6e5 commit ea5d696

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,18 @@ Taro 是由 [凹凸实验室](https://aotu.io) 倾力打造的多端开发解决
3434

3535
## 安装
3636

37-
需要安装 `Taro` 开发工具 `@tarojs/cli``Taro` 版本需要在 `1.0.0-beta.18` 以上
37+
### 2.x
38+
当 Taro 版本 < 3 时,使用 2.x 版本
3839

3940
```bash
40-
npm install -g @tarojs/cli
41+
$ npm install [email protected]
4142
```
4243

43-
然后在项目中安装 Taro UI
44+
### 3.x
45+
当 Taro 版本 ≥ 3 时,使用 3.x 版本
4446

4547
```bash
46-
npm install taro-ui
48+
$ npm install taro-ui@latest
4749
```
4850

4951
## 使用

0 commit comments

Comments
 (0)