Skip to content

Commit

Permalink
docs: update usage with create-react-app (ant-design#52645)
Browse files Browse the repository at this point in the history
* docs: update Usage with create-react-app

* fix: fix
  • Loading branch information
li-jia-nan authored Feb 7, 2025
1 parent 755cde5 commit 1304b11
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
8 changes: 7 additions & 1 deletion docs/react/use-with-create-react-app.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@ order: 1
title: Usage with create-react-app
---

[create-react-app](https://create-react-app.dev/) is one of the best React application development tools, This article will try to use `create-react-app` to create a `TypeScript` project, and introduce antd.
<!-- prettier-ignore -->
:::warning
Note: React has officially deprecated `create-react-app` and is no longer recommended.
For more info, refer to [Repo](https://github.com/facebook/create-react-app/blob/main/README.md)
:::

[create-react-app](https://create-react-app.dev) was once one of the best React application development tools, This article will try to use `create-react-app` to create a `TypeScript` project, and introduce antd.

> We build `antd` based on latest stable version of TypeScript (`>=5.0.0`), please make sure your project dependency matches it.
Expand Down
8 changes: 7 additions & 1 deletion docs/react/use-with-create-react-app.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@ order: 1
title: 在 create-react-app 中使用
---

[create-react-app](https://create-react-app.dev/) 是业界最优秀的 React 应用开发工具之一,本文会尝试使用 `create-react-app` 创建一个 `TypeScript` 项目,并引入 antd。
<!-- prettier-ignore -->
:::warning
注意:React 官方已经废弃 `create-react-app` 脚手架,不再推荐使用。
详细信息参考 [官方仓库](https://github.com/facebook/create-react-app/blob/main/README.md)
:::

[create-react-app](https://create-react-app.dev) 是业界曾经最优秀的 React 应用开发工具之一,本文会尝试使用 `create-react-app` 创建一个 `TypeScript` 项目,并引入 antd。

> `antd` 基于最新稳定版本的 TypeScript(`>=5.0.0`),请确保项目中使用匹配的版本。
Expand Down

0 comments on commit 1304b11

Please sign in to comment.