DEV Community

loading...

Discussion on: How to deploy React Application on IIS Server

Collapse
crazygenexz profile image
Daniel R

With build you refer to the main.js? Im trying to connect a React App to my Windows Server Service but i dont know if i have to mount my React App to connect

Collapse
sumitkharche profile image
Sumit Kharche Author

If you build your React App using npm run build command or whatever command you have for building your app in production mode, it will bundle your app and put it into a build folder. So when we have to deploy this app into IIS then we have to give the path till build folder which contains index.html file.