diff --git a/apps/www/.vitepress/theme/components/ComponentPreview.vue b/apps/www/.vitepress/theme/components/ComponentPreview.vue index ed37d250..8653daa9 100644 --- a/apps/www/.vitepress/theme/components/ComponentPreview.vue +++ b/apps/www/.vitepress/theme/components/ComponentPreview.vue @@ -7,7 +7,11 @@ import { Tabs, TabsContent, TabsList, TabsTrigger } from '@/lib/registry/default import { useConfigStore } from '@/stores/config' import { cn } from '@/lib/utils' -const props = withDefaults(defineProps<{ +defineOptions({ + inheritAttrs: false, +}) + +withDefaults(defineProps<{ name: string align?: 'center' | 'start' | 'end' sfcTsCode?: string @@ -54,7 +58,7 @@ const { style } = useConfigStore() 'items-end': align === 'end', })" > - + diff --git a/apps/www/.vitepress/theme/components/LandingPage.vue b/apps/www/.vitepress/theme/components/LandingPage.vue index 1e649d6e..dd3db7ea 100644 --- a/apps/www/.vitepress/theme/components/LandingPage.vue +++ b/apps/www/.vitepress/theme/components/LandingPage.vue @@ -16,12 +16,12 @@ import DashboardExample from '@/examples/dashboard/Example.vue'