feat(CommandPalette): new component (#80)

This commit is contained in:
Benjamin Canac
2024-04-30 18:14:18 +02:00
committed by GitHub
parent 559a8cba58
commit d0017bf847
30 changed files with 1832 additions and 125 deletions

View File

@@ -10,7 +10,11 @@ const FormFieldWrapper = defineComponent({
components: {
UFormField: FormField
},
template: '<UFormField > <slot /> </UFormField>'
template: `<UFormField>
<template v-for="(_, name) in $slots" #[name]="slotData">
<slot :name="name" v-bind="slotData" />
</template>
</UFormField>`
})
describe('FormField', () => {