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

Component Tag Name including "Vue" on import #1461

Closed
eduardocmoreno opened this issue Jun 15, 2022 · 5 comments
Closed

Component Tag Name including "Vue" on import #1461

eduardocmoreno opened this issue Jun 15, 2022 · 5 comments
Labels
bug Something isn't working

Comments

@eduardocmoreno
Copy link

I just updated VsCode and Volar extension, and now the import suggestions for Vue files are including "Vue" at the end, like in the picture. Is there a way to disable this? Thx!

image

@johnsoncodehk johnsoncodehk added the bug Something isn't working label Jun 15, 2022
@johnsoncodehk
Copy link
Member

Thanks for the report. v0.37.8 is a version update for petite-vue, if you don't use petite-vue, you can downgrade to v0.37.7 for now.

@eduardocmoreno
Copy link
Author

Yep, downgrading to v0.37.7 did the job. Thx @johnsoncodehk

@cannap
Copy link

cannap commented Aug 2, 2022

i enabled takeover mode like here
#471

when i import vue files in a .js file
its always import componentVue from'...' but in vue file it works when i write in the template

in script part IT adds also componentVue

i use it with vue 2
volar version v0.39.4

jsconfig:

  "vueCompilerOptions": {
    "target": 2,
    "experimentalDisableTemplateSupport": true
  },

@johnsoncodehk
Copy link
Member

johnsoncodehk commented Sep 21, 2022

@cannap could you demonstrate it and show full tsconfig content?

@SamuelNitsche
Copy link

@johnsoncodehk Sorry for bumping this old issue but it looks like this reappeared. Is there a way to disable this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants