You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The links in the generated HTML navigate to a 404 error. After removing base from the URL, it works correctly. For example, localhost/base/about results in a 404 error, whereas localhost/about is correct.
Thank you so much! I've created #2580 as a tracker issue which I think should fully resolve this. Let's track there. (Sorry for asking you to create this and then creating another issue instead. 🤦)
Environment
Reproduction
https://stackblitz.com/edit/github-zk6sfo
Steps:
app.baseURL
in nuxt.config.ts.npx nuxi generate
.npm run preview
.Describe the bug
The links in the generated HTML navigate to a 404 error. After removing base from the URL, it works correctly. For example, localhost/base/about results in a 404 error, whereas localhost/about is correct.
Additional context
Reported in nuxt/nuxt#27923
Logs
No response
The text was updated successfully, but these errors were encountered: