Convert optionsAPI into composition API
https://vue-composition-converter.vercel.app/
- data, computed, watch, methods, lifecycle, props -> setup()
- data -> ref()
- computed -> computed()
- watch -> watch()
- methods -> function
- lifecycle -> lifecycle hooks
- beforeCreate, created -> Immediate function
- props -> toRefs()
- this.prop
- (toRefs, ref, computed) -> prop.value
- (other) -> prop
- this.$globalProp -> ctx.root.$globalProp