We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a51d331 commit b7eae4cCopy full SHA for b7eae4c
README.md
@@ -44,7 +44,7 @@ new Vue({
44
userId: 1
45
},
46
computed: {
47
- username: {
+ username () {
48
// Using vue-resource
49
return Vue.http.get('/get-username-by-id/' + this.userId)
50
// This assumes that this endpoint will send us a response
@@ -66,7 +66,7 @@ new Vue({
66
67
68
asyncComputed: {
69
70
71
.then(response => response.data.username)
72
}
0 commit comments