Worst Worst Worst. What?
You obviously deployed your React App in vercel or netlify right? If you are using react-router then you must face the sh...
For further actions, you may consider blocking this person and/or reporting abuse
Great job, Sakib! What about Render 🤔? I still can't figure it out how to solve this when deploying to render.com
you can try this one, not sure but may help
Thanks for your help! But I have tried that too 😅 I guess I will just stick to Vercel for Frontend and Render for only Backend 😁
it's worked for me thank you....
Good job but If i create 4 page website by tailwind, how can i solve this problem? Please help. In netlify only index.html file show.
Thank you
I was getting the same issue on Vercel and found your article as a solution.
Thank you!
Thanks mate, you're a life saver. After building a whole MERN stack project I was stuck on this for so long
in vercel.json ->
{
"rewrites": [{ "source": "/(.*)", "destination": "/index.html" }]
}
it also worked for me <3
That was a very useful post bro, thank you so much. I faced the same problem and I used hashBrowserRouter to solve the problem but your solution is great.
thank u brother