I have created this app with react-router. But when I navigate to another route (e.g. cart or shop) and then refresh the page it throws an error(404: page not found).
code is here. Please provide any suggestions.
I have created this app with react-router. But when I navigate to another route (e.g. cart or shop) and then refresh the page it throws an error(404: page not found).
code is here. Please provide any suggestions.
The server doesn’t know what to serve at that path.
@lasjorg
Thank you so much for sharing the article. It was great.
Finally, the problem is fixed.
These resources also helped a lot :
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.