Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autoimport not working #3197

Open
oxk4r01 opened this issue Oct 19, 2021 · 2 comments
Open

Autoimport not working #3197

oxk4r01 opened this issue Oct 19, 2021 · 2 comments
Labels

Comments

@oxk4r01
Copy link

oxk4r01 commented Oct 19, 2021

I have a project created with Vite. The problem is that I get code suggestions, for example for 'reactive', but can't get autoimport working and I have to add them manually.
Everything goes fine in *.vue files, the problem is with *.js ones.
Can I make autoimport work for *.js files too?
Regards.

@askeet
Copy link

askeet commented Oct 26, 2021

I see the same issue for .vue files with aliases by the tsconfig.json and jsconfing.json

image

@yoyo930021
Copy link
Member

Vetur doesn't affect js files.
You can set javascript setting in vscode with setting and jsconfig.json.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants