Open twofivelabs opened 1 year ago
I have my custom component working, but when I try to use the 'slots' within it doesn't work. I'm not entirely sure if there are some custom variables at play causing some challenges.
Vue.component('v-plainText', () => import('./../../components/Form/vPlainText.vue') )
Inside of form
<v-form-base> <template #slot-plain-text="{obj}"> Using Slot </template> </v-form-base>
<slot name="slot-plain-text" v-bind="{ obj }"> Inside my custom component << This will show when rendering my custom component </slot>
This does not work. is there a specific way to call custom slots?
I have my custom component working, but when I try to use the 'slots' within it doesn't work.
I'm not entirely sure if there are some custom variables at play causing some challenges.
Vue.component('v-plainText', () => import('./../../components/Form/vPlainText.vue') )
Inside of form
This does not work. is there a specific way to call custom slots?