From 32357f5d6d15fb1dc861a60b2481c148ce1c3901 Mon Sep 17 00:00:00 2001 From: Adam Coldrick Date: Fri, 8 May 2020 16:08:54 +0100 Subject: [PATCH] Add a component for entries in a Story list We're going to want to list Stories in more than one place, and we should use a reusable component for the entries to keep the UI consistent. --- src/components/StoryListItem.vue | 40 ++++++++++++++++++++++++++++++++ src/views/StoryList.vue | 36 ++++------------------------ 2 files changed, 45 insertions(+), 31 deletions(-) create mode 100644 src/components/StoryListItem.vue diff --git a/src/components/StoryListItem.vue b/src/components/StoryListItem.vue new file mode 100644 index 0000000..d416aa3 --- /dev/null +++ b/src/components/StoryListItem.vue @@ -0,0 +1,40 @@ + + + + + diff --git a/src/views/StoryList.vue b/src/views/StoryList.vue index e65b232..4c7da86 100644 --- a/src/views/StoryList.vue +++ b/src/views/StoryList.vue @@ -1,20 +1,19 @@ - -