title: React Router is not working when page Refreshing on vercel . App created with Vite+react
body: <p><a href="https://i.stack.imgur.com/hpUQ4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hpUQ4.png" alt="enter image description here" /></a></p>
  <h3>please Follow the Image I hope You will understand my problem.</h3>
  <p>I have made a website using react.js + vite. After deploying on vercel everything is ok. but I am going to share a page link that is <a href="https://photofolio-react-ref-sourov.vercel.app/create-page" rel="nofollow noreferrer">https://photofolio-react-ref-sourov.vercel.app/create-page</a>. But after sharing, I noticed that the link is not working. but if First I go home page then I go that route by clicking Link I show that this is working. I didn't face this problem with the <code>create-react-app template. But Now I used the </code>vite react` template. I faced the same problem on netlify but I found a solution by docs. but now I can't find any solution. Anybody, please share your experience with this problem please fix it. If you have any problem with my explanation please comment on this question.</p>