docs(deps): update @nuxt/content & @nuxt/ui-pro

This commit is contained in:
Benjamin Canac
2024-11-29 17:28:10 +01:00
parent 6bd8a06871
commit 8344d852a5
3 changed files with 15 additions and 45 deletions

View File

@@ -320,9 +320,9 @@ const { data: ast } = await useAsyncData(`component-code-${name}-${hash({ props:
<div v-if="component" class="flex justify-center border border-b-0 border-[var(--ui-border-muted)] relative p-4 z-[1]" :class="[!options.length && 'rounded-t-[calc(var(--ui-radius)*1.5)]', props.class]">
<component :is="component" v-bind="{ ...componentProps, ...componentEvents }">
<template v-for="slot in Object.keys(slots || {})" :key="slot" #[slot]>
<MDCSlot :name="slot" unwrap="p">
<slot :name="slot" mdc-unwrap="p">
{{ slots?.[slot] }}
</MDCSlot>
</slot>
</template>
</component>
</div>