In this YouTube video, I'll show you how to fix the Vercel 404 error in just two easy steps. Say goodbye to the frustration of page refresh issues when navigating to child paths. I'll guide you through creating a vercel.json file, pushing it to GitHub, and letting Vercel handle the rest. Watch now and enjoy smooth page refreshes on your React project with Vite!
{
"rewrites": [
{ "source": "/(.*)", "destination": "/" }
]
}
![](https://s2.save4k.ru/pic/9V5F-OnPsms/maxresdefault.jpg)