Skip to content

Vue Router (router-link) does not update properly if using tag #810

Closed
@lukepolo

Description

@lukepolo

Vue.js version

vue@^2.0.1:
version "2.0.3"

vuex@^2.0.0:
version "2.0.0"

vue-router@^2.0.0:
version "2.0.1"

Reproduction Link

https://jsfiddle.net/Linusborg/b40xckws/2/

Steps to reproduce

Hover over link : you should see

https://fiddle.jshell.net/site/1

click on button

you will see the that the site id has changed but the link does not

What is Expected?

You should click the button and see

https://fiddle.jshell.net/site/4

What is actually happening?

You see https://fiddle.jshell.net/site/1

how to fix

Remove tag onrouter-link

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions