N
Nuxt4mo ago
Wazbat

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 inside the <script> part of my components it works perfectly fine, however if I use it inside a v-text or a 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
4 Replies
Wazbat
WazbatOP4mo ago
Same with with other utilities like isEmpty
Thr0nSK
Thr0nSK4mo ago
This looks like a bug. I made a similar post here too.
Wazbat
WazbatOP4mo ago
No description
Want results from more Discord servers?
Add your server