FitBody
FitBody copied to clipboard
Bug 🐞: "Routing Navigation Errors" For The Pages
Hey, as I have developed the legal pages
I was just checking my work After deployment and I found that The navigations to the pages don't work, after clicking it shows the following error
It shows a 404 page.
#Solution 1:
- First, we will try by minor changing the path for the pages.
#Solution 2:
After deploying the changed path if the error occurs again then based on my knowledge it only happens if you don't configure your vercel.json
The routes don't get recognized except the "/" Home page routes. we have to:
- Add a
vercel.json
file to the project. - add these lines
{ "rewrites": [{ "source": "/(.*)", "destination": "/" }] }
- On the vercel deployment dashboard ensure we pick vitejs as a framework
@abhay-raj19 pls assign this issue to me under gssoc24.