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 π


8 Replies
Unknown Userβ’2y ago
Message Not Public
Sign In & Join Server To View
This is due to VSCode using it's own typescript version
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β’2y ago
Message Not Public
Sign In & Join Server To View
@MateiN What is your development setup like?
We had the same problem when running Nuxt in a Docker through WSL
Unknown Userβ’2y ago
Message Not Public
Sign In & Join Server To View
Our dev env is basic windows + vscode
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.