stylesuxx / generator-react-webpack-redux

React Webpack Generator including Redux support
Other
552 stars 84 forks source link

Object not found! - Error 404 when refreshing page link - dist mode #67

Closed codestitch closed 7 years ago

codestitch commented 7 years ago

Hi all!.

In /dist folder, i run my distribution mode app and all seems alright. However, one problem occurred w/c is when i navigate to a link (say /push) and then reload it afterwards this error occur.

capture

I'm using xampp as my server.

What should I do with this?

Thank you.

codestitch commented 7 years ago

solved by:

http://stackoverflow.com/questions/32150653/apache-web-server-doesnt-allow-me-to-refresh-on-about-but-on-localhost-its-wor#_=_

Thanks.

stylesuxx commented 7 years ago

Thank you. I need to go through your posts and update the Info regarding routing :-)

shriIT commented 4 years ago

Hi all!.

In /dist folder, i run my distribution mode app and all seems alright. However, one problem occurred w/c is when i navigate to a link (say /push) and then reload it afterwards this error occur.

capture

I'm using xampp as my server.

What should I do with this?

Thank you.

same issue in my project. How to solve please help me

shriIT commented 4 years ago

Hello Sir, I am facing some issue in my project, i have used BrowserRouter for Route but after create build then run on browser and after refresh page 'object not found error showing' but i have used HashRouter for Route then after create build run on browser, project run perfect. Please help me to solve this error 'object not found after page refresh'