principle: How to pass the slot content of the parent component to the child component? #8251
Unanswered
lixiaofa
asked this question in
Help/Questions
Replies: 1 comment 2 replies
-
Write the slot of the parent component to the child component. // parent.vue
<template>
<Children>
<template #xxx><slot></slot></template>
</Children>
</template> I think this can be understood with hands-on practice. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How to pass the slot content of the parent component to the child component?
The transfer process was not found.
Beta Was this translation helpful? Give feedback.
All reactions