From 6bf076b382d2e5cd1139a2650d35eec9f9a80aa9 Mon Sep 17 00:00:00 2001 From: Pauline MAROT Date: Wed, 15 Dec 2021 16:46:42 +0100 Subject: [PATCH] templateChat --- .../contact/{Contact.vue => Profil.vue} | 18 +++---- src/components/message/Chat.vue | 11 ----- src/components/message/ChatBox.vue | 44 +++++++++++++++++ src/components/message/Message.vue | 49 +++++++++++++++++++ src/components/message/NavMessage.vue | 2 +- src/nervtn-routes.js | 10 ++-- 6 files changed, 106 insertions(+), 28 deletions(-) rename src/components/contact/{Contact.vue => Profil.vue} (94%) delete mode 100644 src/components/message/Chat.vue create mode 100644 src/components/message/ChatBox.vue create mode 100644 src/components/message/Message.vue diff --git a/src/components/contact/Contact.vue b/src/components/contact/Profil.vue similarity index 94% rename from src/components/contact/Contact.vue rename to src/components/contact/Profil.vue index eed16e1..e1d6d08 100644 --- a/src/components/contact/Contact.vue +++ b/src/components/contact/Profil.vue @@ -1,10 +1,10 @@ \ No newline at end of file diff --git a/src/components/message/Message.vue b/src/components/message/Message.vue new file mode 100644 index 0000000..d58270b --- /dev/null +++ b/src/components/message/Message.vue @@ -0,0 +1,49 @@ + + + + + + + + \ No newline at end of file diff --git a/src/components/message/NavMessage.vue b/src/components/message/NavMessage.vue index c343c2f..6f42e2b 100644 --- a/src/components/message/NavMessage.vue +++ b/src/components/message/NavMessage.vue @@ -5,7 +5,7 @@ 👤 Contact diff --git a/src/nervtn-routes.js b/src/nervtn-routes.js index 2ee1a78..c212ea0 100644 --- a/src/nervtn-routes.js +++ b/src/nervtn-routes.js @@ -5,9 +5,9 @@ import * as VueRouter from 'vue-router'; const Apps = () => import('./components/NervTNApps.vue'); const Dashboard = () => import('./components/Dashboard.vue'); -const Chat = () => import('./components/message/Chat.vue'); +const Chat = () => import('./components/message/Message.vue'); const Correspondance = () => import('./components/message/Correspondance.vue'); -const Contact = () =>import('./components/contact/Contact.vue'); +const Profil = () =>import('./components/contact/Profil.vue'); const routes = [ @@ -52,10 +52,10 @@ const routes = [ } }, { - path: '/contact', - name: "Contact", + path: '/profil', + name: "Profil", components: { - default: Contact, + default: Profil, //Links: {}, //Sidebar: {}, //ActionBar: {}