From 9b6fbfcb36dda40fcebfafac7d044fcfa909563c Mon Sep 17 00:00:00 2001 From: afc163 Date: Fri, 21 Jun 2019 18:20:30 +0800 Subject: [PATCH] docs: upgrade about npm create umi --- docs/react/practical-projects.en-US.md | 2 +- docs/react/practical-projects.zh-CN.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/react/practical-projects.en-US.md b/docs/react/practical-projects.en-US.md index 55d1383cdf..78dc79dd9b 100644 --- a/docs/react/practical-projects.en-US.md +++ b/docs/react/practical-projects.en-US.md @@ -24,7 +24,7 @@ $ cd myapp It is recommended to use yarn to create an application and execute the following command. -> If you insist on using npm, execute `npm install -g create-umi && create-umi` and the effect will be the same. +> If you are using npm, execute `npm create umi` and the effect will be the same. ```bash $ yarn create umi diff --git a/docs/react/practical-projects.zh-CN.md b/docs/react/practical-projects.zh-CN.md index ccd191e9f3..006129b45b 100644 --- a/docs/react/practical-projects.zh-CN.md +++ b/docs/react/practical-projects.zh-CN.md @@ -24,7 +24,7 @@ $ cd myapp 推荐使用 yarn 创建应用,执行以下命令, -> 如果你坚持用 npm,可执行 `npm install -g create-umi && create-umi`,效果一致。 +> 如果你使用 npm,可执行 `npm create umi`,效果一致。 ```bash $ yarn create umi