JSON now comes from external file

This commit is contained in:
Alicia Sykes
2019-07-21 21:33:26 +01:00
parent c4bd506966
commit 9a57f0aeab
4 changed files with 89 additions and 3 deletions

View File

@@ -5,16 +5,24 @@
<span v-if="!items || items.length < 1" class="no-items">
No Items to Show Yet
</span>
<div v-else>
<Item title="Ahoy!"/>
</div>
</div>
</div>
</template>
<script>
import Item from '@/components/Item.vue'
export default {
name: 'ItemGroup',
props: {
title: String,
items: Array
},
components: {
Item
}
}
</script>