Seeking guidance on transitioning code from Vue's Options API to the Composition API. Specifically, how can I convert the provided options api grammar into composition api grammar?
I currently have this code in a form and need help updating it to use Vue's Composition API.
data: {
text: ""
},
methods:{
resetForm: function(e) {
e.preventDefault()
this.$data.text = ""
}
}