How to run build version using create-react-app?
问题 So, I developed a small React application using create-react-app. (I have always made applications from scratch.) Then, after I was kind of happy with it, I decided to run npm run build to make an optimized production build. Can someone please tell me how I can run the production build instead of the Dev build? 回答1: When you run npm run build your console should actually say something like the following The build folder is ready to be deployed. You may serve it with a static server: npm