1 使用create-react-app npx create-react-app react-lyj 1.1 创建 1.2 启动 2 介绍目录 2.1 删除不必要文件 2.2 删除不必要文件内容 index.js App.js 3 项目执行流程 index.js:整个项目的入口、运行的起点 总结:App.js被引入到index.js中,被index.js渲染到public下的index.html(root)中