diff --git a/src/presets/vue.ts b/src/presets/vue.ts index 15ddfd59..82d45c5e 100644 --- a/src/presets/vue.ts +++ b/src/presets/vue.ts @@ -68,7 +68,8 @@ export const CommonCompositionAPI: InlinePreset['imports'] = [ 'InjectionKey', 'PropType', 'Ref', - 'VNode' + 'VNode', + 'WritableComputedRef' ].map(name => ({ name, type: true })) ]