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?8 Replies
It doesn't error on the page, just can't find in the IDE
What IDE do you use?
vscode
with Volar
just restart Volar within VSCode
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
you can use the command palette to restart volar π
no need to fully close π
ok, thanks
Unknown Userβ’11mo ago
Message Not Public
Sign In & Join Server To View