Skip to content

Commit

Permalink
feat: update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
rayhomie committed Sep 24, 2024
1 parent 24838eb commit 78498d1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/guide/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,7 @@ toc: false
### 2.x 能否和 1.x, 0.x 一起使用

因为 1.x 升级到 2.x 没有迁移成本,所以你可以直接从 1.x 升级到 2.x
对于 0.x, 你可以使用 antd-mini-v0 这个 npm 包, 产物内容和 [email protected] 一模一样。

```
$ npm install antd-mini-v0 antd-mini
```
对于 0.x, 你可以使用 npm 别名来安装。

`package.json` 文件中是这样定义的:

Expand All @@ -24,6 +20,10 @@ $ npm install antd-mini-v0 antd-mini
}
```

```
$ npm install
```

使用:

```json
Expand Down

0 comments on commit 78498d1

Please sign in to comment.