Thr0nSK
Auto imported functions show type error in <template>
I don't have my macbook with me at the moment, will test later but I don't think I'll be able to reproduce it wirh defineComponent since there is no <template> block
It didn't seem to cause issues in the script tag no matter the context
36 replies
Auto imported functions show type error in <template>
@danielroe sorry for the ping but as multiple people posted about this, I wanted to ask whether you've encountered this already or not
is there something I can help with? I haven't seen an issue about it in nuxt/nuxt, should I create one?
36 replies
`import.meta` meta-property is only allowed when the --module option is ...
https://stackblitz.com/github/nuxt/starter/tree/v3?file=my-module%2Fsrc%2Fmodule.ts
here it is in a completely new project
4 replies
Intercept click on NuxtLink and conditionally prevent navigation
Intercepting the navigation in this way would still allow the clients without javascript visit the route, for example.
I think that a middleware might be a better option, however, I don't know what your use-case is, so let's start with that 🙂
3 replies