How to deploy a React App on Apache web server?

Posted by Jessica Taylor | Updated on

If you want to deploy a React App on Apache web server Following is how the web pack config file should look like check the dist dir and output file specified. I was missing the way to specify the path of dist directory.

Then the package json file

Notice the script section and production section, production section is what gives you the final deployable index.js file.

If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@] Your question and answer will appear on and help other developers.

Related Questions & Answers