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

Possibility to support vuejs #10427

Closed
kennywangjin opened this issue Aug 19, 2016 · 5 comments
Closed

Possibility to support vuejs #10427

kennywangjin opened this issue Aug 19, 2016 · 5 comments
Labels
Needs Proposal This issue needs a plan that clarifies the finer details of how it could be implemented. Suggestion An idea for TypeScript

Comments

@kennywangjin
Copy link

Is it possible to provide official support for vuejs or make official cooperations with vuejs author, to eaze integration of these too great tools?
You have provided office TSX for reactjs. Please consider to support vuejs (.vue) too. This world needs more than just reactjs!

@DanielRosenwasser
Copy link
Member

Hey @kennywangjin. You're certainly not the first person to bring this up. I've gotten this asked quite a few times in our Gitter room, and it's currently also the 6th most-commented issue on Vue itself.

I've spoken with Evan (@yyx990803) before. Supporting .vue files would be something that ideally a language service extension would take on (see #10160 for details).

For the record, I've heard good things about @itsfrank's vue-typescript. Let me know if that makes it any easier to use.

@RyanCavanaugh RyanCavanaugh added Suggestion An idea for TypeScript Needs Proposal This issue needs a plan that clarifies the finer details of how it could be implemented. labels Aug 19, 2016
@mythz
Copy link

mythz commented May 15, 2017

Not sure if this is a TypeScript, TS + webpack or VS.NET designer issue but there's currently poor support for .vue files in VS.NET. I'm using a webpack-powered SPA template so the TypeScript errors are just designer errors but they dilute real TypeScript compiler errors where TypeScript doesn't know how to import .vue modules:

image

There also isn't good support for .vue files themselves:

image

VS Code with vetur is much nicer:

image

Just curious if there's any tweaks I can do to make the experience nicer in VS.NET e.g. if TypeScript can be made to be "webpack-aware" or if VS.NET has a roadmap to support Vue + webpack and where I can look at (or submit this issue to) to follow progress?

@MeirionHughes
Copy link

MeirionHughes commented Apr 26, 2019

@DanielRosenwasser are you aware of an feature request (in this repo) to allow transforming any file (not just vue) to typescript AST, and by extension configuring tsc to support that via plugins?

@dummdidumm
Copy link

#38736 would enable this for arbitrary files (including Vue)

@RyanCavanaugh
Copy link
Member

vuejs is supported through their LS plugins now

@RyanCavanaugh RyanCavanaugh closed this as not planned Won't fix, can't repro, duplicate, stale Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Proposal This issue needs a plan that clarifies the finer details of how it could be implemented. Suggestion An idea for TypeScript
Projects
None yet
Development

No branches or pull requests

6 participants