Usage with custom component #116
-
Hi, I need to add a lot of links on my website that look like buttons with icons in them so I have to create a wrapper component over NuxtLink with custom styling. Is this possible without losing the functionality of this module? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
The |
Beta Was this translation helpful? Give feedback.
-
I second this. I would love to be able to use it with e.g. |
Beta Was this translation helpful? Give feedback.
The
@typed-router
alias export nearly all generated types, so you can play with your component generics. You can look at the bottom of your.nuxt/typed-router/typed-router.d.ts
for theNuxtLink
types definitions.Not supported at the moment to support this natively as the types are pretty complex.