- Notifications
You must be signed in to change notification settings - Fork54
Vue class based to vue2 with TS support#32
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Fixes:#33 |
rndmerle commentedFeb 28, 2022
Nice! We've to migrate a bunch of components from class to composition functions on our project. I'll start from this, it helps a lot. Thanks ;) |
rndmerle commentedMar 1, 2022
@matrunchyk I've a bunch of TS errors when trying to build, like |
@rndmerle Yeah I will have to enhance typings by declaring appropriate types/interfaces. For now feel free to ignore issues by specifying |
NikhilVerma commentedJul 5, 2022
It would be great if we can update this to use the new Vue 2.7 |
This is exactly what it does for TS components keeping all the typings. Btw, I have another script which migrates Vue2 to Vue3 script setup (mixin are also supported). I'll publish/share a repo if someone will be interested. |
NikhilVerma commentedJul 5, 2022
@matrunchyk You are using the |
Ah you're right@NikhilVerma. I think the argument of But I agree, we can replace it directly in the migration script itself. |
smk commentedMay 18, 2023
Hey@matrunchyk ,
I'd be interested in the Vue 3 script setup version even if only partially working since I have a few (read: hundreds) of components to convert, and any starting point is better than none. 😅 Would you mind sharing it with me? |
Satakshi-ctrl commentedMar 6, 2024
Hi@matrunchyk Can you pls let me know how to use this to convert vue2 class based code with TS to vue3 options api |
No description provided.