2👍
✅
Replace your call with:
this.$http.get('/api/events').then((response) => {
console.log(response.data)
}, (error) => {
console.log(error)
})
Check the docs for more info
👤Sven
Source:stackexchange.com