parent
1bcda29e64
commit
c364d0e347
@ -0,0 +1,18 @@
|
|||||||
|
export default{
|
||||||
|
props: {
|
||||||
|
players: Team,
|
||||||
|
},
|
||||||
|
data : function(){
|
||||||
|
return{
|
||||||
|
id: 0,
|
||||||
|
name: 'Empty'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
},
|
||||||
|
template: `
|
||||||
|
<div id="teamCard" v-for="player in players">
|
||||||
|
<span>{{player.nom}} {{player.prenom}}</span>
|
||||||
|
</div>
|
||||||
|
`
|
||||||
|
}
|
Loading…
Reference in new issue