đź“‚
C-Dac Notes
  • README
  • Advanced Java
  • Number System
  • Core Java
  • Data structure
  • Database technologies
  • Operating system
  • Web Programming
  • Database technologies
    • 10-06-d9
  • Database technologies
    • 11-06-d10
  • Database technologies
    • 12-06-d11
  • Database technologies
    • 13-06-d12
  • Database technologies
    • 14-06-d13
  • Database technologies
    • 3-06-d3
  • Database technologies
    • 4-06-d4
  • Database technologies
    • 5-06-d5
  • Database technologies
    • 7-06-d6
  • Database technologies
    • 8-06-d7
  • Database technologies
    • 9-06-d8
  • Operating system
    • 2julyDay2
  • Operating system
    • 3julyDay3
  • Operating system
    • 5julyDay4
  • Operating system
    • 6julyDay5
  • Operating system
    • 7julyDay6
  • Web Programming
    • 15-7-d1
  • Web Programming
    • 16-7-d2
  • Web Programming
    • 17-7-d3
  • Web Programming
    • 19-7-d4
  • Web Programming
    • 2-8-d16
  • Web Programming
    • 20-7-d5
  • Web Programming
    • 21-7-d6
  • Web Programming
    • 22-7-d7
  • Web Programming
    • 23-7-d8
  • Web Programming
    • 24-7-d9
  • Web Programming
    • 26-7-d10
  • Web Programming
    • 27-7-d11
  • Web Programming
    • 28-7-d12
  • Web Programming
    • 29-7-d13
  • Web Programming
    • 3-8-d17
  • Web Programming
    • 30-7-d14
  • Web Programming
    • 31-7-d15
  • Project
    • BackEnd
      • ClinicManagement
        • mvnw
  • Advanced Java
    • 22-8-d12
      • Spring Boot I
        • SpringBootI_Assignment1
          • mvnw
  • Advanced Java
    • 22-8-d12
      • Spring Boot II
        • SpringBootII_Assignment1
          • mvnw
  • Advanced Java
    • 22-8-d12
      • Spring Boot II
        • SpringBootII_Assignment2
          • mvnw
  • Web Programming
    • 3-8-d17
      • React routing
        • Getting Started with Create React App
Powered by GitBook
On this page
  • Available Scripts
  • npm start
  • npm test
  • npm run build
  • npm run eject
  • Learn More
  • Code Splitting
  • Analyzing the Bundle Size
  • Making a Progressive Web App
  • Advanced Configuration
  • Deployment
  • npm run build fails to minify

Was this helpful?

  1. Web Programming
  2. 3-8-d17
  3. React routing

Getting Started with Create React App

PreviousReact routing

Last updated 3 years ago

Was this helpful?

This project was bootstrapped with .

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode. Open to view it in the browser.

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 for more information.

npm run build

Builds the app for production to the build folder. It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes. Your app is ready to be deployed!

See the section about for more information.

npm run eject

Note: this is a one-way operation. Once you eject, you can’t go back!

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.

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.

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.

Learn More

Code Splitting

Analyzing the Bundle Size

Making a Progressive Web App

Advanced Configuration

Deployment

npm run build fails to minify

You can learn more in the .

To learn React, check out the .

This section has moved here:

This section has moved here:

This section has moved here:

This section has moved here:

This section has moved here:

This section has moved here:

Create React App
http://localhost:3000
running tests
deployment
Create React App documentation
React documentation
https://facebook.github.io/create-react-app/docs/code-splitting
https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size
https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app
https://facebook.github.io/create-react-app/docs/advanced-configuration
https://facebook.github.io/create-react-app/docs/deployment
https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify