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

Allow import without .vue suffix #1288

Open
octref opened this issue May 9, 2019 · 1 comment
Open

Allow import without .vue suffix #1288

octref opened this issue May 9, 2019 · 1 comment

Comments

@octref
Copy link
Member

octref commented May 9, 2019

This is doable by handling that in resolveModules of ts.LanguageServiceHost.

@octref
Copy link
Member Author

octref commented May 10, 2019

But this would depend upon #673. It would be weird if you can't use import Comp from './comp' for comp.vue in Vue files but not js/ts files.

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

1 participant