Run A Previous React Project


How would I run a previous React project? I’ve done a few projects through tutorials, but haven’t tried to revisit one until now.


You run it the same way you did initially.

Install the dependencies:

npm i

Run the start or dev script:

npm start or npm run dev (look in the package-json file for the script to start the app)

Or you can build it (again look in the package-json file for the build script) and serve the build output using some local dev server (like Live Server).

Got it working. Thanks

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.