-1👍
✅
Three things.
First of all, why are you passing a ref as your @input callback? and why are you writing it as this.password? In vue.js template tags you should not put this before setup variables. I guess what you wanted to do was something like:
<input placeholder="Password" v-model="password"/>
Secondly and again, you don’t need to use this before email and password in your createUserWithEmailAndPassword arguments.
And thirdly, as your email and password are "Refs"", they are objects with proxies in your script and to access them, you should write:
createUserWithEmailAndPassword(getAuth(), email.value , password.value)
Source:stackexchange.com