# 步骤
首先 全局安装 create-reate-app
npm install -g create-react-app
## 创建项目
npx create-react-app 项目名
npm init react-app 项目名
yarn create react-app 项目名
## 启动项目
cd 项目名
npm run start / npx start / yarn start
##使用路由必须先引入 react-router-dom 模块
###安装语句
npm install react-router-dom
npm install react-router-config
React 脚手架基本安装
于 2021-09-15 10:01:43 首次发布