docs(deps): update @nuxt/content (#2706)

This commit is contained in:
Farnabaz
2024-11-20 16:14:37 +03:30
committed by GitHub
parent b120e8d998
commit 7d8b721bdd
4 changed files with 23 additions and 32 deletions

View File

@@ -272,9 +272,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">
{{ slots?.[slot] }}
</MDCSlot>
</slot>
</template>
</component>
</div>

View File

@@ -41,15 +41,6 @@ export default defineNuxtConfig({
markdown: {
highlight: {
langs: ['bash', 'ts', 'typescript', 'diff', 'vue', 'json', 'yml', 'css', 'mdc']
},
remarkPlugins: {
'remark-mdc': {
options: {
experimental: {
autoUnwrap: false
}
}
}
}
}
}

View File

@@ -7,7 +7,7 @@
"@iconify-json/lucide": "^1.2.15",
"@iconify-json/simple-icons": "^1.2.12",
"@iconify-json/vscode-icons": "^1.2.2",
"@nuxt/content": "https://pkg.pr.new/@nuxt/content@8f8b373",
"@nuxt/content": "https://pkg.pr.new/@nuxt/content@cb33501",
"@nuxt/image": "^1.8.1",
"@nuxt/ui": "latest",
"@nuxt/ui-pro": "https://pkg.pr.new/@nuxt/ui-pro@ea4f068",