diff --git a/vue/components/funkoCard.js b/vue/components/FunkoCard.js similarity index 60% rename from vue/components/funkoCard.js rename to vue/components/FunkoCard.js index c73c735..ee68803 100644 --- a/vue/components/funkoCard.js +++ b/vue/components/FunkoCard.js @@ -1,17 +1,19 @@ export default { - props: ['funko'], + props: { + funko: Object + }, template: `
` -} \ No newline at end of file +}; diff --git a/vue/funkos.js b/vue/funkos.js index 3aa0bd1..313c504 100644 --- a/vue/funkos.js +++ b/vue/funkos.js @@ -54,12 +54,5 @@ const funkos = [ price: 50, description: 'bob', rank: 1 - }, - { - title: 'My fave funko', - img: 'myfavefunko', - price: 'priceless', - description: 'arsehole', - rank: -400 } -]; \ No newline at end of file +]; diff --git a/vue/index.html b/vue/index.html index 261e8db..c3006c5 100644 --- a/vue/index.html +++ b/vue/index.html @@ -20,7 +20,7 @@