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

Enable Vetur/VTI typechecking #232

Open
luxaritas opened this issue Jan 21, 2021 · 4 comments
Open

Enable Vetur/VTI typechecking #232

luxaritas opened this issue Jan 21, 2021 · 4 comments
Assignees
Labels
good first issue Good for newcomers help wanted Extra attention is needed pending triage type: ergonomics Tooling, refactoring, etc

Comments

@luxaritas
Copy link
Member

luxaritas commented Jan 21, 2021

See https://vuejs.github.io/vetur/guide/vti.html

There's a fair amount of errors this spits out, so I don't have time to go after this now. However, it should be a relatively straightforward to work through them

@luxaritas luxaritas added help wanted Extra attention is needed good first issue Good for newcomers type: ergonomics Tooling, refactoring, etc labels Jan 21, 2021
@luxaritas luxaritas changed the title Enable VTI typechecking Enable Vetur/VTI typechecking Jan 21, 2021
@snehansh
Copy link
Contributor

@luxaritas

I see that you have added details like:
There's a fair amount of errors this spits out..

Are you referring to errors that gets displayed in VS code in the "PROBLEMS" section when we open a .vue page in VS code.

For example, please refer screenshot below:
image

@luxaritas
Copy link
Member Author

@snehansh Yes and no :) What I was referring to was actually running the vti command, but the errors it would raise are the same as what you should see in the problems section - it just checks the entire codebase (just like if you ran tsc --noEmit on a pure typescript codebase - you could open a file and see the errors for just that file, or run the command to get the commands across the entire codebase).

@snehansh
Copy link
Contributor

@luxaritas
I am interested in working on this issue.
Please assign this to me. Thanks.

@luxaritas
Copy link
Member Author

Sure, thanks! Also noting as discussed in Discord that we probably want to use vue-tsc instead as it's newer (plus vti appears to have issues)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed pending triage type: ergonomics Tooling, refactoring, etc
Projects
None yet
Development

No branches or pull requests

2 participants