mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-25 01:10:40 +01:00
docs(deps): update @nuxt/content (#2706)
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user