From 02d17b3e550a6d0b168cdf15ce83dd0b81c710ec Mon Sep 17 00:00:00 2001 From: Eugene Serb <46799701+eugene-serb@users.noreply.github.com> Date: Fri, 12 Aug 2022 14:48:54 +0300 Subject: [PATCH] - added header and footer as vue-component. - update html template. - update root app-component. --- public/index.html | 39 +---------------------------------- src/App.vue | 22 +++++++++++++------- src/components/FooterItem.vue | 24 +++++++++++++++++++++ src/components/HeaderItem.vue | 36 ++++++++++++++++++++++++++++++++ 4 files changed, 76 insertions(+), 45 deletions(-) create mode 100644 src/components/FooterItem.vue create mode 100644 src/components/HeaderItem.vue diff --git a/public/index.html b/public/index.html index 4bb4984..90ff82c 100644 --- a/public/index.html +++ b/public/index.html @@ -66,44 +66,7 @@ -
-
-
- -
- -
-
- -
- - - +
diff --git a/src/App.vue b/src/App.vue index b1a79c6..8ce2225 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,16 +1,22 @@ + + + diff --git a/src/components/HeaderItem.vue b/src/components/HeaderItem.vue new file mode 100644 index 0000000..872f578 --- /dev/null +++ b/src/components/HeaderItem.vue @@ -0,0 +1,36 @@ + + + + + +