Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Navigation highlighting not working due to trailing slash behaviour #2820

Open
stijns96 opened this issue Oct 21, 2024 · 0 comments
Open

Navigation highlighting not working due to trailing slash behaviour #2820

stijns96 opened this issue Oct 21, 2024 · 0 comments

Comments

@stijns96
Copy link

Environment

  • Operating System: Darwin
  • Node Version: v20.10.0
  • Nuxt Version: 3.13.2
  • CLI Version: 3.14.0
  • Nitro Version: 2.9.7
  • Package Manager: [email protected]
  • Builder: -
  • User Config: -
  • Runtime Modules: -
  • Build Modules: -

Reproduction

Describe the bug

Somehow the links in the navigation do not have a trailing slash in the href, but when I refresh the page, it will automatically be appended to my url.

I tried to add nuxt seo that has a built-in feature to remove trailing slashes, but that didn't work. Also the document-driven trailing slash option is not doing anything here.

How to get rid of the trailing slash?

Additional context

No response

Logs

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant