![]() Supported Language Features and Polyfills You can refer to the React documentation for more information about supported browsers. Supported Browsersīy default, the generated project uses the latest version of React. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them. 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. This command will remove the single build dependency from your project. If you aren’t satisfied with the build tool and configuration choices, you can eject at any time. See the section about deployment for more information. The build is minified and the filenames include the hashes. ![]() It correctly bundles React in production mode and optimizes the build for the best performance. npm run buildīuilds the app for production to the build folder. See the section about running tests for more information. Launches the test runner in the interactive watch mode. You will also see any lint errors in the console. In the project directory, you can run: npm start They will not be included in the production build so you can use them for things like documentation. You can, however, create more top-level directories. Read instructions below for using assets from JavaScript and HTML. Only files inside public can be used from public/index.html. You need to put any JS and CSS files inside src, otherwise Webpack won’t see them. For faster rebuilds, only files inside src are processed by Webpack. You may create subdirectories inside src. You can delete or rename the other files.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |