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

The replace prop of router-link does not work #702

Closed
dupfei opened this issue Jan 9, 2021 · 0 comments
Closed

The replace prop of router-link does not work #702

dupfei opened this issue Jan 9, 2021 · 0 comments

Comments

@dupfei
Copy link

dupfei commented Jan 9, 2021

Version

4.0.2

Reproduction link

https://codesandbox.io/s/epic-sea-b5jry?file=/src/App.vue

Steps to reproduce

<router-link to="/about" replace>About</router-link>

The code above will use push not replace

What is expected?

Use replace

What is actually happening?

Use push

@posva posva closed this as completed in 6edba5c Jan 9, 2021
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