Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Shivamyadav's avatar

How to get import suggestion for vue component without any package?

Recently around 5 days agao I had created a vue app and that was working fine with vie officially extension. I was getting auto import suggestion but yesterday I have created a new vue project with same way but didn't get any import suggestions ..

0 likes
4 replies
GdS's avatar

Hi, I am not sure about your project setup, it would be great if you could share some more info about it.

In the past I used to face this problem randomly because typescript compiler needed to specify .vue in all import statements. Please review your tsconfig.json and compare it with your project's recommended defaults. Also make sure your path aliases are correct.

Shivamyadav's avatar

@GdS I don't know what's happening but i unistall and again reinstall the vue-official extension and just closed the vs code and restarted again and now seems everything is working fine..

what's going on any idea about this situation?

GdS's avatar

@Shivamyadav I'm glad it solved by itself. Maybe a cache / memory issue behind the scenes.

Hopefully a simple command palette > restart extensions host or restart TS server could save you some frustrations next time.

1 like

Please or to participate in this conversation.