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
Adds Vue3 setup support #749
Conversation
Codecov Report
@@ Coverage Diff @@
## main #749 +/- ##
==========================================
+ Coverage 98.29% 98.30% +0.01%
==========================================
Files 50 50
Lines 1052 1057 +5
==========================================
+ Hits 1034 1039 +5
Misses 18 18
Continue to review full report at Codecov.
|
👍 for this one ! |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Would also love Vue 3 support. +1 from me also! |
I merged the Vue3 support yesterday (#778), I never did any vue so I'm not sure if this PR adds something more than the other? @devan1011 |
Main difference is I concat the script and setupScript as in Vue 3 it is valid to have for example: <script lang="ts">
export default {
name: 'ComponentName',
};
</script>
<script setup lang="ts">
// ...
</script> I had a use case where there where imports in both scripts, and didn't want to loose the deps in the first script tag. |
Adds support for Vue 3 composition
<script setup>
components. As<script>
and<script setup>
are allowed in the same file I just concat the two files together as it's only import parsing that is required.Also adds supports for typescript parsing in Vue components.