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](https://answer-overflow-discord-attachments.s3.amazonaws.com/1209321895250366504/CleanShot_2024-02-19_at_23.12.302x.png)
8 Replies
It doesn't error on the page, just can't find in the IDE
What IDE do you use?
vscode
with Volar
Unknown Userβ’5mo ago
Message Not Public
Sign In & Join Server To View
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β’5mo ago
Message Not Public
Sign In & Join Server To View