From d63ab0892eff49f64b7cbd0b58986acafdd451a2 Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Wed, 4 Sep 2024 17:40:46 +0200 Subject: [PATCH] chore(cli): update templates --- cli/templates.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/templates.mjs b/cli/templates.mjs index 2ef930a8..76553dbc 100644 --- a/cli/templates.mjs +++ b/cli/templates.mjs @@ -61,7 +61,7 @@ import { Primitive } from 'radix-vue' const props = withDefaults(defineProps<${upperName}Props>(), { as: 'div' }) defineSlots<${upperName}Slots>() -const ui = computed(() => tv({ extend: ${camelName}, slots: props.ui })()) +const ui = ${camelName}()