2👍
You need to make an additional API call to set the displayName on the user:
firebase.auth()
.createUserWithEmailAndPassword(this.email, this.password)
.then(
user => {
return user.updateProfile({displayName: this.displayName});
},
error => {
alert(error.message);
}
);
- [Vuejs]-Issue with Vue.js : Doesn't display data
- [Vuejs]-Vue.js callback references rather than emits
Source:stackexchange.com