feat: add start react app

This commit is contained in:
cqh963852 committed 2022-09-24 17:40:55 +08:00
1 parent f88db0c211
commit 9c0d16ba83
3 files changed
+24 -1

No files matched your search

+5 -1
View File
@@ -1,4 +1,8 @@
# 创建 React 工程 ---
sidebar_position: 1
---
# 创建工程
使用 [Create React App](https://create-react-app.dev/docs/getting-started) 脚手架工具 使用 [Create React App](https://create-react-app.dev/docs/getting-started) 脚手架工具
+19
View File
@@ -0,0 +1,19 @@
---
sidebar_position: 2
---
# 启动项目
输入指令,切换到工程目录
```
cd my-app
```
输入指令,启动工程
```
npm start
```
![启动成功](./started_react.png)
Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB