To add to Joshua’s answer, you may want to declare the type of players inline so your code doesn’t get too verbose as your data gets larger.
data() {
return {
players: [] as Player[]
};
},
another option:
data() {
return {
players: new Array<Player>()
};
},