question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ability to use Vue Router router-link component in menus

See original GitHub issue

Menu items should have the option of creating router-link components to support native routing functionality provided by Vue Router. This should also ensure actual <a> tags are generated, so as to be more friendly to accessibility.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:13

github_iconTop GitHub Comments

2reactions
07akionicommented, Jun 12, 2021

The demand does exist. The API should be designed carefully. I need to think it for some time.

1reaction
djmattyg007commented, Jun 16, 2021

this may take a while

That’s part of why I suggested providing a nicer way of using <router-link> specifically 😉

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ability to use Vue Router router-link component in menus #84
Menu items should have the option of creating router-link components to support native routing functionality provided by Vue Router.
Read more >
Extending RouterLink | Vue Router
Some examples are Links in a Navigation Menu, handling external links, adding an inactive-class , etc. Let's extend RouterLink to handle external links...
Read more >
Routing in Vue3: Navigating the Options - CODE Magazine
Shawn Wildermuth demonstrates how to use Vue Routing in a single page ... the ability to navigate to different parts of your application....
Read more >
Vue iVew menu does not reflect router status like router-link
The menu component work as described on iView homepage except, it does not reflect the real router status like <router-link> do. Entering a ......
Read more >
How to Use Vue Router: A Complete Tutorial - Vue School Blog
We are importing createRouter and createWebHistory from the vue-router library. Next, we import the Home component from views/Home.vue . On line ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found