1.自行手动配置 详见:手动创建一个React项目 https://zh-hans.reactjs.org/docs/add-react-to-a-website.htmlhttps://reactjs.org/docs/add-react-to-a-website.html 2. 通过脚手架自动配置 详见:脚手架自动创建React项目 https://zh-hans.reactjs.org/docs/create-a-new-react-app.html