You have to install server package then you can run reactjs build into your pc.
npm install -g serve # Or if you're using Yarn yarn global add serve
All that’s left to do is tell serve the package which folder you want to serve. Assuming you're inside your project directory. You'd run a command like this.
And you should see the following output, specifying where your React app is being served.
Top comments (0)