Username component

This commit is contained in:
Eliot Berriot 2018-03-01 23:45:46 +01:00
parent a6da10be41
commit 2d12c56b90
No known key found for this signature in database
GPG Key ID: DD6965E2476E5C27
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,8 @@
<template>
<span>{{ username }}</span>
</template>
<script>
export default {
props: ['username']
}
</script>

View File

@ -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 {}