Replies: 2 comments
-
Hi, as I see in CoreUI v4 code it is still impossible. You can use something like:
It is important not to pass the "href" attribute for the navigation element. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@mghmay @alienforhumans you can also try something like this
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'd like to clarify the status of vue-router and coreui.
According to this thread it hasn't been implemented: #177
But according to the documentation we can turn a link into a router link by passing the to prop: https://coreui.io/vue/docs/3.2/components/link.html#router-link-props
I'm currently trying to get coreui to work with vue-router and as far as I can tell this currently isn't working. It would be very useful to pass a route using a to prop, it would make the code a lot neater too.
Failing that could the documentation be updated? Perhaps with detailed instructions about how to use router-link with coreui.
Beta Was this translation helpful? Give feedback.
All reactions