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

Auto import not working with vue class component style #2476

Open
4 tasks done
tuan-lm opened this issue Nov 16, 2020 · 2 comments
Open
4 tasks done

Auto import not working with vue class component style #2476

tuan-lm opened this issue Nov 16, 2020 · 2 comments
Labels

Comments

@tuan-lm
Copy link

tuan-lm commented Nov 16, 2020

  • I have searched through existing issues
  • I have read through docs
  • I have read FAQ
  • I have tried restarting VS Code or running Vetur: Restart VLS

Info

  • Platform: Win10
  • Vetur version: 0.30.2
  • VS Code version: 1.51.1

Problem

Auto import not working with component that exported with class component style

Media1

Reproducible Case

Download this fork: https://github.com/tuan-lm/veturpack.git
OrtherFile.vue had normal export default but OrtherFileWithClass.vue has export default class OrtherFileWithClass extends Vue {}.
When i type <orther-file> can give auto complete but <orther-file-with-class> does not

@yoyo930021 yoyo930021 added the bug label Nov 17, 2020
@thanhchuongbmd
Copy link

The same issue

@C-alcium
Copy link

C-alcium commented Dec 21, 2020

I get this issue for both cases unfortunately, I am using neovim though so I'm not sure if that is the same problem here. neoclide/coc-vetur#59

Edit: After reinstalling everything my above issue resolved... not sure what the problem was.

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

4 participants