# train.gitee.io **Repository Path**: Xweihaifeng/train.gitee.io ## Basic Information - **Project Name**: train.gitee.io - **Description**: training project - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2021-01-28 - **Last Updated**: 2022-08-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Getting Started with Create React App [Create React App入门] This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app). 该项目是通过[Create React App](https://github.com/facebook/create-react-app)启动的。 ## Available Scripts [可用脚本] In the project directory, you can run: 在项目目录中,可以运行: ### `npm start` Runs the app in the development mode. 在开发模式下运行应用程序。 Open [http://localhost:3000](http://localhost:3000) to view it in the browser. 打开[http://localhost:3000](http://localhost:3000)在浏览器中查看。 The page will reload if you make edits. 如果进行编辑,页面将重新加载。 You will also see any lint errors in the console. 您还将在控制台中看到任何棉绒错误。 ### `npm test` Launches the test runner in the interactive watch mode. 在交互式监视模式下启动测试运行程序。 See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information. 有关更多信息,请参见关于[运行测试](https://facebook.github.io/create-react-app/docs/running-tests)的部分。 ### `npm run build` Builds the app for production to the `build` folder. 生成用于生产的应用程序到 build 文件夹。 It correctly bundles React in production mode and optimizes the build for the best performance. 它在生产模式下正确捆绑了React,并优化了构建以获得最佳性能。 The build is minified and the filenames include the hashes. 最小化构建,文件名包含哈希。 Your app is ready to be deployed! 您的应用已准备好进行部署! See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information. 有关更多信息,请参见有关[部署](https://facebook.github.io/create-react-app/docs/deployment)的部分 ### `npm run eject` **Note: this is a one-way operation. Once you `eject`, you can’t go back!** **注意:这是单向操作。一旦您eject,您将无法返回!** If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project. 如果您对构建工具和配置选择不满意,则可以eject随时进行。此命令将从项目中删除单个构建依赖项。 Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own. 相反,它将所有配置文件和传递依赖项(webpack,Babel,ESLint等)直接复制到您的项目中,因此您可以完全控制它们。除了这些命令以外的所有命令eject仍然可以使用,但是它们将指向复制的脚本,因此您可以对其进行调整。在这一点上,您是一个人。 You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it. 您无需使用eject。精选功能集适用于中小型部署,您不应该使用此功能。但是,我们了解到,如果在准备就绪时无法自定义该工具,它将不会有用。 ## Learn More ### `npm run build` fails to minify This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify). 本节已移至[此处](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)。