Created
August 25, 2017 21:46
-
-
Save codemwnci/7d33978d90617718d7f7272a8cc653b0 to your computer and use it in GitHub Desktop.
Load all todos on startup
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
mounted() { | |
axios.get('http://localhost:9000/todo/').then(response => { | |
this.todos = response.data; | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment