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

考虑支持 .vue 文件后缀选项? #38

Closed
zqjimlove opened this issue Apr 11, 2020 · 3 comments
Closed

考虑支持 .vue 文件后缀选项? #38

zqjimlove opened this issue Apr 11, 2020 · 3 comments

Comments

@zqjimlove
Copy link
Contributor

前年 vetur 更新后,对非 .vue 后缀的文件就几乎不支持了。

tinajs/tina#59
vuejs/vetur#1480
vuejs/vetur#1451
vuejs/vetur#1388

是否可考虑添加一个选择使用后缀的选项?

@sky-admin
Copy link
Contributor

之前其实支持过,不过现在vsc上也有mpx专用的插件了,是觉得能力不足吗?
这个后缀支持要加回来吗? @hiyuki

@zqjimlove
Copy link
Contributor Author

之前其实支持过,不过现在vsc上也有mpx专用的插件了,是觉得能力不足吗?
这个后缀支持要加回来吗? @hiyuki

不好意思,我才知道有 mpx 这个插件。我先使用一下。不过我现在自己改成了.vue,主要是TS的校验能力比较看重。

@hiyuki
Copy link
Collaborator

hiyuki commented Apr 13, 2020

ts校验推荐使用脚手架生成的外链ts文件的方式,mpx的vsc插件我们会持续完善,.vue后缀的支持官方脚手架不会添加,但是你确实可以自己修改rules以支持.vue

@hiyuki hiyuki closed this as completed Apr 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants