Hello,
It would be nice to use function for getting default value:
new Vue({
data: {
postId: 1
},
asyncComputed: {
blogPostContent: {
get () {
return Vue.http.get('/post/' + this.postId)
.then(response => response.data.postContent)
},
default: () => `Loading post ${this.postId}...`
}
}
}