Nuxt.js Routing Issue on Vercel: Redirects to Homepage or 404 Error

Hi everyone,

I’m working on a Nuxt.js project deployed on Vercel. The issue I’m facing occurs when clicking on certain links within the project. Instead of routing to the expected page, the app either redirects me back to the homepage or throws a 404 error.

I tried to fix this by configuring vercel.json, but it didn’t resolve the issue — the links still send me back to the homepage.

Has anyone experienced something similar with routing in Nuxt.js on Vercel? How did you resolve it? Any help or suggestions would be greatly appreciated!

Thanks in advance!

Hi, @unilabdevs!

We have a community post about 404 errors, could you take a look?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.