This is a very common issue when deploying a single-page app (SPA)
Create a vercel.json file in your root and add below code over there.
vercel.json
{ "rewrites": [ { "source": "/(.*)", "destination": "/index.html" } ] }