Thr0nSK
Thr0nSK
NNuxt
Created by Thr0nSK on 8/6/2024 in #❓・help
Auto imported functions show type error in <template>
it should show the error by running tsc
36 replies
NNuxt
Created by Thr0nSK on 8/6/2024 in #❓・help
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
NNuxt
Created by Thr0nSK on 8/6/2024 in #❓・help
Auto imported functions show type error in <template>
that's what helped me too, but only in a small reproduction.. didn't help in my main project
36 replies
NNuxt
Created by Thr0nSK on 8/6/2024 in #❓・help
Auto imported functions show type error in <template>
what do you mean by pure ts file? we've only noticed it to be a problem in the <template> tag of a single file component
36 replies
NNuxt
Created by Thr0nSK on 8/6/2024 in #❓・help
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
NNuxt
Created by Wazbat on 8/6/2024 in #❓・help
Unable to use auto imported functions inside vue html
This looks like a bug. I made a similar post here too.
6 replies
NNuxt
Created by Thr0nSK on 8/6/2024 in #❓・help
Auto imported functions show type error in <template>
However, I don't think it's IDE related as vue-tsc shows the error in the console as well & the build fails too.
36 replies
NNuxt
Created by Thr0nSK on 8/6/2024 in #❓・help
Auto imported functions show type error in <template>
I use WebStorm
36 replies
NNuxt
Created by Thr0nSK on 8/6/2024 in #❓・help
Auto imported functions show type error in <template>
what Nuxt version are you using?
36 replies
NNuxt
Created by Thr0nSK on 6/24/2024 in #❓・help
`import.meta` meta-property is only allowed when the --module option is ...
No description
4 replies
NNuxt
Created by Thr0nSK on 6/24/2024 in #❓・help
`import.meta` meta-property is only allowed when the --module option is ...
4 replies
NNuxt
Created by Josh Deltener on 6/25/2024 in #❓・help
What's the right way to install Pinia?
the "docs" on the nuxt website shows only @pinia/nuxt 😄 https://nuxt.com/modules/pinia#installation
6 replies
NNuxt
Created by _duncanhall on 6/25/2024 in #❓・help
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
NNuxt
Created by _duncanhall on 6/25/2024 in #❓・help
Intercept click on NuxtLink and conditionally prevent navigation
Why would you want to do this?
3 replies
NNuxt
Created by Josh Deltener on 6/25/2024 in #❓・help
What's the right way to install Pinia?
I'm only using @pinia/nuxt
6 replies
NNuxt
Created by ALI on 6/24/2024 in #❓・help
Custom Error Page
If I'm not mistaken, it will show a fullscreen error page for those errors as well if rendered on the server. On the client side, it will behave as if you had throw createError({ fatal: false })
42 replies
NNuxt
Created by ALI on 6/24/2024 in #❓・help
Custom Error Page
could you try using
throw createError({
status: 404,
})
throw createError({
status: 404,
})
in cases where you want to render an error page?
42 replies
NNuxt
Created by ALI on 6/24/2024 in #❓・help
Custom Error Page
stackblitz preferably
42 replies
NNuxt
Created by ALI on 6/24/2024 in #❓・help
Custom Error Page
create a small reproduction here
42 replies
NNuxt
Created by ALI on 6/24/2024 in #❓・help
Custom Error Page
42 replies