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

Can't auto import Typescript classes in SFC #1170

Closed
3 tasks done
EBMike opened this issue Mar 29, 2019 · 1 comment
Closed
3 tasks done

Can't auto import Typescript classes in SFC #1170

EBMike opened this issue Mar 29, 2019 · 1 comment

Comments

@EBMike
Copy link

EBMike commented Mar 29, 2019

  • I have searched through existing issues
  • I have read through docs
  • I have read FAQ

Info

  • Platform: Win
  • Vetur version: 0.17.1
  • VS Code version: 1.32.3

Problem

image

image

If you click quick fix (or ctrl+.) it shows...

image

Reproducible Case

similar to #606

  • In VSCode create a new project with vue cli vue create .
  • Typescript only
  • Component classes
  • Go to App.vue and comment out the line import HelloWorld from './components/HelloWorld.vue';
  • Hover over HelloWorld under components

(per #682 setting "vetur.useWorkspaceDependencies": true and using Typescript ^3.3 does not help)

@octref
Copy link
Member

octref commented Mar 29, 2019

I would fix it together with #907 (currently path is messed up).

image

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

No branches or pull requests

2 participants