cornflourblue / react-redux-registration-login-example

React + Redux - User Registration and Login Tutorial & Example
https://jasonwatmore.com/post/2017/09/16/react-redux-user-registration-and-login-tutorial-example
MIT License
1.19k stars 760 forks source link

How to run project subdirectory #19

Open chiragpurohit71085 opened 4 years ago

chiragpurohit71085 commented 4 years ago

Hi

I want to run project as static build. I am creating build using npm run build. This creates dist folder with index.html and main.js. When I deploy this on apache root folder it works fine but when I want to run on subdirectory it is giving me just blank page. I checked web and found there should be some configuration to run project in subdirectory. I was not able to find any solution with webpack for same.