diff --git a/index.html b/index.html index d7c2218..71b522e 100644 --- a/index.html +++ b/index.html @@ -45,10 +45,10 @@ } }); - app.component('NavBar', NavBar); app.component('TeamCard', TeamCard); app.component('NewsCard',NewsCard); app.component('HomeModule',HomeModule); + app.component('NavBar', NavBar); app.mount('#app'); diff --git a/src/view/home-module.js b/src/view/home-module.js index 6e4a9da..6634771 100644 --- a/src/view/home-module.js +++ b/src/view/home-module.js @@ -1,12 +1,16 @@ export default{ - data: function(){ - return{ - - } + props:{ + news:[] + }, + data:function(){ + return {} }, methods:{ - }, - layout:` + template:` +