Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork131
-
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. |
BetaWas this translation helpful?Give feedback.
All reactions
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. |
BetaWas this translation helpful?Give feedback.
All reactions
-
@mghmay@alienforhumans you can also try something like this
|
BetaWas this translation helpful?Give feedback.
All reactions
This discussion was converted from issue #285 on May 17, 2024 12:48.