parent
964aa2f3c1
commit
d9ffadb627
@ -1,16 +0,0 @@
|
|||||||
export default{
|
|
||||||
props:{
|
|
||||||
news:Array
|
|
||||||
},
|
|
||||||
data:function(){
|
|
||||||
return {}
|
|
||||||
},
|
|
||||||
methods:{
|
|
||||||
},
|
|
||||||
template:`
|
|
||||||
<h2>Home</h2>
|
|
||||||
<div id="Teams">
|
|
||||||
<news-card v-for="nouv in news" :title="nouv.title" :date="nouv.publishedAt"/>
|
|
||||||
</div>
|
|
||||||
`
|
|
||||||
}
|
|
Loading…
Reference in new issue