Replies: 1 comment
-
Just following up on this issue. Any ideas or someone available to help? |
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
-
Hi everyone,
I'm working on a Vue.js project using PrimeVue components and I'm trying to create a custom component to encapsulate some reusable logic.
I have an existing component with the following template:
I currently have this template:
I want to extract this specific section into a new component:
It works, but I don't know how to retrieve 'data' for my
uniqueLink()
function. Useinject('$parentInstance').value
works, but I'm not sure if it's the best approach."How can I do this?
Thank you in advance
Beta Was this translation helpful? Give feedback.
All reactions