v-link don't work in active component
See original GitHub issueI have a this router.map
router.map({
'/': {
component: Home,
title: 'Обзор карты'
},
'places': {
component: Places,
title: 'Список мест',
},
'places/:placeId': {
name: 'showPlace',
component: Place,
title: 'Просмотр места'
}
});
And on places/1 i have a v-link
<a v-link="{ name: 'showPlace', params: { placeId: similarPlace.id } }" class="mdl-button mdl-button--colored mdl-js-button mdl-js-ripple-effect">Посмотреть</a>
And this edited a page-link, but <vue-router> don’t update.
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
v-link-active on parent containing multiple v-links is not working
In my example on jsFiddle, the "v-link-active" class should be applied to the "Leads" menu item if any of the contained sub-menu items...
Read more >Use 'active' state from React Router in Styled Components
As of react-router v4, you can style the active state of NavLink without any dependencies using activeClassName and Styled Components' ...
Read more >PQ51193: VLINK NOT COMING UP - IBM
Virtual link is not comming active. . Problem occurs when the transit interface for the VLINK is a P2MP interface. When the HELLO...
Read more >Link | Components - BootstrapVue
Property. (Click to sort ascending) Type. (Click to sort ascending) Default
active Boolean false
active‑class String
append Boolean false
Read more >HTML | <body> vlink Attribute - GeeksforGeeks
The HTML <body> vlink Attribute is used to specify a color of a visited link in a Document. Note : The HTML <body>...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
In that case, don’t use the §watch, set this in the route options of the component:
Sorry, this is not a support forum. Further questions on the forum.vuejs.org or on stack overflow.