Browse Source

Update practical-projects.zh-CN.md

将教程中的指令更新为最新版的`create-umi@0.9.5`
pull/14574/head
cc189 6 years ago
committed by GitHub
parent
commit
bedf08d33c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 22
      docs/react/practical-projects.zh-CN.md

22
docs/react/practical-projects.zh-CN.md

@ -35,21 +35,23 @@ yarn create v1.12.0
[3/4] 🔗 Linking dependencies...
[4/4] 📃 Building fresh packages...
success Installed "create-umi@0.3.1" with binaries:
success Installed "create-umi@0.9.5" with binaries:
- create-umi
? What functionality do you want to enable? (Press <space> to select, <a> to toggle all, <i
> to invert selection)
❯◯ antd
◯ dva
◯ code splitting
◯ pwa
◯ dll
◯ hard source
```
yarn 会先安装最新版的 [create-umi](https://github.com/umijs/create-umi),然后提供交互式的提示来创建应用。
选择 `app`, 然后回车确认。
```
? Select the boilerplate type
ant-design-pro - Create project with an layout-only ant-design-pro boilerplate, use together with umi block.
❯ app - Create project with a simple boilerplate, support typescript.
block - Create a umi block.
library - Create a library with umi.
plugin - Create a umi plugin.
```
选上 `antd``dva`,然后回车确认。
```

Loading…
Cancel
Save