Create Vue 3 script setup SFC from Vue2/3 class based TypeScript SFCs
npm install @linden.dev/vue-unclassify SFCs directly from Vue2/3 class-based single file TypeScript components. Can also be used to convert vue-facing-decorator classes to .
element of an SFC. There are surely heaps of bugs.
html
... (minor replacements only as of now)
`
Usage
vue-unclassify [-r/--replace] [file patterns...]
...or run front end with interactive transpilation (WIP)
Features
* AST-based transpilation (90%) using acorn - a lot less fragile than existing RegEx tools
* Direct conversion to