[Vuejs]-Vue Object is Empty

3👍

It is empty because your method fetchInfo isn’t being called, so you need to do something like this:

created () {
 this.fetchInfo()
}

This will call the function fetchInfo which in turn will fetch and fill this.team

👤samayo

Leave a comment