Browse Source

docs: fix readme umi version (#11534)

pull/11537/head
GeoDaoyu 5 months ago
committed by GitHub
parent
commit
34bd789afc
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 12
      README.md
  2. 12
      README.zh-CN.md

12
README.md

@ -84,17 +84,7 @@ npm i @ant-design/pro-cli -g
pro create myapp
```
select umi version
```shell
🐂 Use umi@4 or umi@3 ? (Use arrow keys)
❯ umi@4
umi@3
```
> If the umi@4 version is selected, full blocks are not yet supported.
If you choose umi@3, you can also choose the pro template. Pro is the basic template, which only provides the basic content of the framework operation. Complete contains all blocks, which is not suitable for secondary development as a basic template.
Choose the pro template. Simple is the basic template, which only provides the basic content of the framework operation. Complete contains all blocks, which is not suitable for secondary development as a basic template.
```shell
? 🚀 Full or a simple scaffold? (Use arrow keys)

12
README.zh-CN.md

@ -85,17 +85,7 @@ npm i @ant-design/pro-cli -g
pro create myapp
```
选择 umi 的版本
```shell
? 🐂 使用 umi@4 还是 umi@3 ? (Use arrow keys)
❯ umi@4
umi@3
```
> 如果选择了 umi@4 版本,暂时还不支持全量区块。
如果选择了 umi@3,还可以选择 pro 的模板,simple 是基础模板,只提供了框架运行的基本内容,complete 包含所有区块,不太适合当基础模板来进行二次开发
选择 pro 的模板,simple 是基础模板,只提供了框架运行的基本内容,complete 包含所有区块,不太适合当基础模板来进行二次开发。
```shell
? 🚀 要全量的还是一个简单的脚手架? (Use arrow keys)

Loading…
Cancel
Save