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

v2.14.10 relative nuxt-link goes always to root / #8459

Closed
silvio-e opened this issue Dec 9, 2020 · 3 comments
Closed

v2.14.10 relative nuxt-link goes always to root / #8459

silvio-e opened this issue Dec 9, 2020 · 3 comments

Comments

@silvio-e
Copy link

silvio-e commented Dec 9, 2020

Versions

  • nuxt: v2.14.10
  • node: v12.19.1

Steps to reproduce

Create a relative link on a sub page like <nuxt-link to="test">To test page</nuxt-link>

What is Expected?

The link should go to /subpage/test

What is actually happening?

it goes to /

I guess related to #8457

@evanlegamer
Copy link

same when we are on /subpage

<nuxt-link to="?page=1">To test page</nuxt-link>

it goes to /?page=1 instead of /subpage/?page=1

however this <nuxt-link :to="{ query: { page: 1 } }"> To test page</nuxt-link>
Works as expected

@pi0
Copy link
Member

pi0 commented Dec 9, 2020

Hi. Thanks for report. This should be resolved with v2.14.11.

@pi0 pi0 closed this as completed Dec 9, 2020
@silvio-e
Copy link
Author

Can confirm that this IS resolved! Thanks! :)

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

No branches or pull requests

4 participants