hi, I'm a full stack web developer. I love UI design and have weakness for beautifully designed
functional web apps. when I am not coding, I am GAMING or READING. #potterHead
hi, I'm a full stack web developer. I love UI design and have weakness for beautifully designed
functional web apps. when I am not coding, I am GAMING or READING. #potterHead
I had the same issue. I fixed it the following way:
once you have built the react app with npm build command then you need to go to public directory and add a new file called:
_redirects
content of the file should be:
/* /index.html 200
you can check this in my repo:
github.com/ali-farhad/material-ui-...
That is aalo not working. Do I need to mention that file in somewhere?
no does not need to be mentioned anywhere. but again you have a MERN app. I had CRA app so that is why this solution might not apply to your project.
Oh may be that's the reason