You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to import any Next component the alias is not an option in VSCode. The animated gif below shows what I get when I try to import Router; as you'll see there is no next/router option.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
When trying to import any Next component the alias is not an option in VSCode. The animated gif below shows what I get when I try to import
Router
; as you'll see there is nonext/router
option.Here is my project's
jsconfig.json
:I tried removing the
exclude
as a shot in the dark, but that didn't do anything. Anyone know how to get the alias as options?Beta Was this translation helpful? Give feedback.
All reactions