Search code examples
vue.jsnuxt.jsvuejs3nuxt3.js

VSCode Auto-Import doesn't work: Cannot find name


I have just upgraded Nuxt 3.1 to 3.2...

enter image description here

How to make it work properly? (starting server can be successful)


Solution

  • For me, I just had to do the following to restart the Vue extension and make it recognize the auto-imports again:

    Ctrl + Shift + P

    Vue: Restart Vue and TS servers