Is it possible to use router-links with vue-markdown?
See original GitHub issueObviously the following code
[contact us](/contact)
gets translated into
<a href="/contact">contact us</a>
Without vue-markdown
I could write
<router-link to="/contact">contact us</router-link>
which will use client side routing instead of reloading the page. Is this possible to use this concept with vue-markdown
?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:10
- Comments:6
Top Results From Across the Web
vue-router : Creating a router-link with <a> - Stack Overflow
In my Vue SPA, I use vue-router with history mode. One of the components is vue-showdown. The vue-showdown generates HTML code dynamically.
Read more >Need help replacing archor/<a> tags with <router-link> in ...
I've managed to use <router-link> s and Vue Router for seamless navigation elsewhere throughtout the website. Is it possible to convert the ...
Read more >How To Navigate Between Views with Vue Router
The first thing to do is import the Vue Router library. You actually don't need to access everything in this library in order...
Read more >Extending Vue Router Links in Vue 3 - Vue School Blog
The <router-link> tag is a great tool for navigating between different pages of your Vue application but it is not the tool to...
Read more >Working with Routes in Vue.js - Raymond Camden
The official router for Vue.js is vue-router. It supports what I described above as well as more complex routing, for example, nested routes ......
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
Another (hacky) way I’m not proud of, but hey… it works!
Sure. Like I said, I had to jump through some hoops, so open to simplifying things. Ideally these features could be incorporated into vue-markdown.
Markdown
Component Usage
Component Code