From 2d12c56b90755d4756656dd84fd0bbb24bc570b4 Mon Sep 17 00:00:00 2001 From: Eliot Berriot Date: Thu, 1 Mar 2018 23:45:46 +0100 Subject: [PATCH] Username component --- front/src/components/common/Username.vue | 8 ++++++++ front/src/components/globals.js | 4 ++++ 2 files changed, 12 insertions(+) create mode 100644 front/src/components/common/Username.vue diff --git a/front/src/components/common/Username.vue b/front/src/components/common/Username.vue new file mode 100644 index 000000000..17fb34925 --- /dev/null +++ b/front/src/components/common/Username.vue @@ -0,0 +1,8 @@ + + diff --git a/front/src/components/globals.js b/front/src/components/globals.js index 40315bc47..b1d7d6104 100644 --- a/front/src/components/globals.js +++ b/front/src/components/globals.js @@ -4,4 +4,8 @@ import HumanDate from '@/components/common/HumanDate' Vue.component('human-date', HumanDate) +import Username from '@/components/common/Username' + +Vue.component('username', Username) + export default {}