N
Nuxtβ€’2y ago
warflash

Broken Plugin Types

For some reason I can't seem to figure out my plugin types are broken, would appreciate any hint on why that might be πŸ™
No description
No description
8 Replies
Unknown User
Unknown Userβ€’17mo ago
Message Not Public
Sign In & Join Server To View
Dovendyret
Dovendyretβ€’17mo ago
This is due to VSCode using it's own typescript version
Dovendyret
Dovendyretβ€’17mo ago
Stack Overflow
Nuxt 3 useNuxtApp() returns type unknown
I try to provide a helper to be usable across all composables and application in Nuxt plugin, and the code looks like this: // hello.ts export default defineNuxtPlugin(async nuxtApp => { nuxt...
Unknown User
Unknown Userβ€’17mo ago
Message Not Public
Sign In & Join Server To View
Dovendyret
Dovendyretβ€’17mo ago
@MateiN What is your development setup like? We had the same problem when running Nuxt in a Docker through WSL
Unknown User
Unknown Userβ€’17mo ago
Message Not Public
Sign In & Join Server To View
warflash
warflashOPβ€’17mo ago
Our dev env is basic windows + vscode
Dovendyret
Dovendyretβ€’17mo ago
Hmm then Im not sure. I had this issue and fixed it by updating Nuxt and VScode to latest and running it on Windows localhost.
Want results from more Discord servers?
Add your server