Nuxt UI - pass function to LandingCTA link

When using ULandingCTA you can pass an array of links that will generate buttons for each of your link. Each link can have a function that is triggered when the button is clicked. I only have one link and I don't know how I can pass that function to my component. I am using Nuxt Content and the ULandingCTA props come from a YAML document retrieved by Nuxt Content : <ULandingCTA v-bind="page.cta" /> Has anyone done something like that or would know how to pass a function.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server