How can deploy React.js Project on the server ?

Forums ReactHow can deploy React.js Project on the server ?
Staff asked 3 years ago

I don’t know how to deploy my react js project on the server. Please suggest me what can I do..?

Answers (1)

Add Answer
Sagar Rana Marked As Accepted
Staff answered 3 years ago

Execute Command – npm run build

first run this command
after the build is successfully done then it will generate build folder in your project and then you has to upload that folder on the server.

Subscribe

Select Categories