From 03c6923013f58c5c4d083d48cf6a0992bce5309f Mon Sep 17 00:00:00 2001 From: Jeffrey Biles Date: Sun, 29 Mar 2020 09:58:17 -0700 Subject: [PATCH] Pull code into MailTable component --- src/App.vue | 75 ++----------------------------- src/components/MailTable.vue | 86 ++++++++++++++++++++++++++++++++++++ 2 files changed, 90 insertions(+), 71 deletions(-) create mode 100644 src/components/MailTable.vue diff --git a/src/App.vue b/src/App.vue index 9cd2f27..9929468 100644 --- a/src/App.vue +++ b/src/App.vue @@ -3,84 +3,17 @@

VMail Inbox

- - - - - - - - - - -
- - {{email.from}} -

{{email.subject}} - {{email.body}}

-
{{format(new Date(email.sentAt), 'MMM do yyyy')}}
+ diff --git a/src/components/MailTable.vue b/src/components/MailTable.vue new file mode 100644 index 0000000..6a30735 --- /dev/null +++ b/src/components/MailTable.vue @@ -0,0 +1,86 @@ + + + + + \ No newline at end of file