Merge branch 'master' of https://codefirst.iut.uca.fr/git/JavaScript-TP_note/Projet-note
commit
16cdd797d6
@ -1,12 +1,16 @@
|
|||||||
export default{
|
export default{
|
||||||
data: function(){
|
props:{
|
||||||
return{
|
news:[]
|
||||||
|
},
|
||||||
}
|
data:function(){
|
||||||
|
return {}
|
||||||
},
|
},
|
||||||
methods:{
|
methods:{
|
||||||
|
|
||||||
},
|
},
|
||||||
layout:`
|
template:`
|
||||||
|
<h2>Home</h2>
|
||||||
|
<div id="Teams" v-for="nouv in news">
|
||||||
|
<news-card title="nouv.title" date="nouv.publishedAt"/>
|
||||||
|
</div>
|
||||||
`
|
`
|
||||||
}
|
}
|
Loading…
Reference in new issue