From 7f33be84852504994f428aaacc05d07036f21e4f Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Mon, 5 Apr 2021 14:06:39 +0100 Subject: [PATCH] Moved Header from Home to App, and added check that data exists --- src/App.vue | 30 +++++++++++++++------- src/components/Item.vue | 37 +++++++++------------------ src/components/ItemIcon.vue | 1 - src/router.js | 4 +++ src/views/Home.vue | 50 ++++++++++++++++++++----------------- 5 files changed, 64 insertions(+), 58 deletions(-) diff --git a/src/App.vue b/src/App.vue index ff8012b1..f5a3abde 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,26 +1,38 @@ diff --git a/src/components/Item.vue b/src/components/Item.vue index 525e2d45..a189c1ec 100644 --- a/src/components/Item.vue +++ b/src/components/Item.vue @@ -1,29 +1,16 @@