N
Nuxtβ€’11mo ago
Medim

Can't find auto import in slug route

got a pages/courts/[id].vue and auto imports like useRouter and refs aren't available there?
No description
8 Replies
Medim
MedimOPβ€’11mo ago
It doesn't error on the page, just can't find in the IDE
Zeeeth
Zeeethβ€’11mo ago
What IDE do you use?
Medim
MedimOPβ€’11mo ago
vscode with Volar
zsilbi
zsilbiβ€’11mo ago
just restart Volar within VSCode
Medim
MedimOPβ€’11mo ago
yep, that did it (maybe I need to close my vscode more often lmao) but yeah, a bit meh if you need to do that
manniL
manniLβ€’11mo ago
you can use the command palette to restart volar πŸ™‚ no need to fully close πŸ˜„
Medim
MedimOPβ€’11mo ago
ok, thanks
Unknown User
Unknown Userβ€’11mo ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server