Unable to use auto imported functions inside vue html
Sorry if this is a silly question, but I'm really struggling to use some VueUse functions inside the actual html
If I call
useDateFormat
useDateFormat
inside the <script> part of my components it works perfectly fine, however if I use it inside a
v-text
v-text
or a
v-model
v-model
I get the following error:
Property 'useDateFormat' does not exist on type 'CreateComponentPublicInstance<Readonly<ExtractPropTypes<__VLS_TypePropsToOption<{ formdata: MyFormType; }>>>
Property 'useDateFormat' does not exist on type 'CreateComponentPublicInstance<Readonly<ExtractPropTypes<__VLS_TypePropsToOption<{ formdata: MyFormType; }>>>
I'm honestly at a loss. This used to work fine before and the docs don't mention this behaviour