You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The nuxt-link as tag should work like the router-link. (nuxt does understand my current workaround that I use router-link).
Actual behavior
See screenshot - the first link (with tag="router-link") gets rendered correct.
The second drop-down-item (with tag="nuxt-link") gets rendered as.... a <nuxt-link> and not a <a>.
The text was updated successfully, but these errors were encountered:
But the "tag" prop should be a String and some errors are thrown. [Vue warn]: Invalid prop: type check failed for prop "tag". Expected String with value "[object Object]", got Object at <ODropdownItem tag= {name: 'NuxtLink' ...
Overview of the problem
Oruga version: [0.5.10]
Vuejs version: [3]
OS/Browser: Chrome
Description
The
tag="router-link"
tag does work, buttag="nuxt-link"
does not.Will result in the following rendered HTML:
Expected behavior
The
nuxt-link
as tag should work like therouter-link
. (nuxt does understand my current workaround that I userouter-link
).Actual behavior
See screenshot - the first link (with tag="router-link") gets rendered correct.
The second drop-down-item (with tag="nuxt-link") gets rendered as.... a
<nuxt-link>
and not a<a>
.The text was updated successfully, but these errors were encountered: