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

Suggestion: How about support Vue file's ts coverage analytics. #82

Open
zilong-thu opened this issue Oct 21, 2021 · 4 comments
Open

Suggestion: How about support Vue file's ts coverage analytics. #82

zilong-thu opened this issue Oct 21, 2021 · 4 comments
Labels
enhancement New feature or request

Comments

@zilong-thu
Copy link

Is your feature request related to a problem? Please describe.
Many projects use Vue.js as their front end framework, so I believe it's necessary to add support for Vue projects.

Describe the solution you'd like
The solution might be to extract the <script> part of an SFC(single file component) whose file name ends up with .vue and then treat it like any other js/ts files.

Describe alternatives you've considered
Vue-loader might be an alternative solution.

Additional context
Thanks.

@zilong-thu zilong-thu added the enhancement New feature or request label Oct 21, 2021
@alexcanessa
Copy link
Owner

alexcanessa commented Oct 22, 2021

@zilong-thu nice idea. Would you be able to give it a go and implement it? It would need implementation in the ts-coverage plugin though.

@zilong-thu
Copy link
Author

OK. I'd like to give it a try~

@igorfv
Copy link

igorfv commented Dec 9, 2021

Oh, please add Svelte too

@azat-io
Copy link

azat-io commented May 10, 2024

And Astro please 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants