提交 690804d3 编写于 作者: G Gao Jiangmiao 提交者: 陈帅

Revert yarn command in use-in-typescript.md

上级 46add091
......@@ -14,8 +14,7 @@ Ensure your system has installed latest version of [yarn](https://yarnpkg.com) o
Create a new project named `antd-demo-ts` using yarn.
```bash
$ yarn global add create-react-app
$ create-react-app antd-demo-ts --scripts-version=react-scripts-ts
$ yarn create react-app antd-demo-ts --scripts-version=react-scripts-ts
```
If you are using npm (we will use yarn in the following instructions, it's ok to replace yarn with npm)
......
......@@ -14,8 +14,7 @@ title: 在 TypeScript 中使用
使用 yarn 创建项目。
```bash
$ yarn global add create-react-app
$ create-react-app antd-demo-ts --scripts-version=react-scripts-ts
$ yarn create react-app antd-demo-ts --scripts-version=react-scripts-ts
```
如果你使用的是 npm(接下来我们都会用 yarn 作为例子,如果你习惯用 npm 也没问题)。
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册