Created
October 8, 2019 06:29
-
-
Save CryDeTaan/42796217790ec8a8b251423ee6cda040 to your computer and use it in GitHub Desktop.
Gist for medium post
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
methods: { | |
onSubmit(){ | |
this.form.password_confirmation = this.form.password; // Temp for this form only. | |
this.form | |
.post('/users') | |
.then(user => this.users.push(user)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment