-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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` 文件中是这样定义的: | ||
|
||
|
@@ -24,6 +20,10 @@ $ npm install antd-mini-v0 antd-mini | |
} | ||
``` | ||
|
||
``` | ||
$ npm install | ||
``` | ||
|
||
使用: | ||
|
||
```json | ||
|