Created
April 17, 2019 03:12
-
-
Save kabitacode/6706f2ea4356bee3dbbd3ad3918901c9 to your computer and use it in GitHub Desktop.
This file contains 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
add(){ | |
axios.post('http://localhost:3000/users/', this.form).then(res => { | |
this.load() | |
this.form.name = '' | |
}) | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment