一.项目目录介绍 二.初始化项目 1.初始化项目:npx create-react-app 项目名称 2.启动项目,在项目根目录执行命令 : yarn start 或者npm start 3.调整项目中 src目录结构如下: