Skip to content

Commit cab1462

Browse files
committed
docs: update quickstart.md
1 parent ea5d696 commit cab1462

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

packages/taro-ui-docs/markdown/quickstart.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,12 @@ $ taro init myApp
4141

4242
```bash
4343
$ cd myApp
44-
$ npm install taro-ui
44+
45+
# 当 Taro 版本 < 3 时,使用 2.x 版本
46+
$ npm install [email protected]
47+
48+
# 当 Taro 版本 ≥ 3 时,使用 3.x 版本
49+
$ npm install taro-ui@latest
4550
```
4651

4752
:::

0 commit comments

Comments
 (0)