Issue
I'm new to deploy React.js Web Application on Window Server. How can I host react.js web application on IIS?
Your advise is most welcomed. Thanks
Solution
No sure how you are compiling your code, but in general there should be a public folder somewhere in your solution, so the static files are there, just set this public folder on IIS to serve static file on a route you like.
Of course, this solves how to serve the html/css and react complied scripts, but you need to go a little further to have access to the api used by react on browser side, and it depends on what framework you've used for that.
Answered By - Quirinux Answer Checked By - Mary Flores (PHPFixing Volunteer)
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.