app.component('review-list', { template: `

Reviews:

`, data() { return { current_reviews: this.reviews } }, methods: { load() { data = this axios.get('./reviews.json') .then( function (response) { data.current_reviews = response.data.reviews }) .catch( function (error) { console.log("FAIL: " + error) }) }, }, computed: { reviews() { this.load() return this.current_reviews }, } })