Props nested destarcturing dosen't get rendered in the template #6147
Unanswered
FxOmar
asked this question in
Help/Questions
Replies: 1 comment
-
defineProps() destructure does not support nested patterns. |
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
-
Trying to destructure a nested props Object doesn't get rendered in the template but if i log it to devTool works just fine it seems like the template can't detect nested object properties
But if you do it this way it works fine

sfc playground to see the error
https://bit.ly/3b2Zrnc
Vue 3.2.25
I'm not sure why template can't detect nested objects destarcturing, am i missing something??
Beta Was this translation helpful? Give feedback.
All reactions