Username component
This commit is contained in:
parent
a6da10be41
commit
2d12c56b90
|
@ -0,0 +1,8 @@
|
||||||
|
<template>
|
||||||
|
<span>{{ username }}</span>
|
||||||
|
</template>
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
props: ['username']
|
||||||
|
}
|
||||||
|
</script>
|
|
@ -4,4 +4,8 @@ import HumanDate from '@/components/common/HumanDate'
|
||||||
|
|
||||||
Vue.component('human-date', HumanDate)
|
Vue.component('human-date', HumanDate)
|
||||||
|
|
||||||
|
import Username from '@/components/common/Username'
|
||||||
|
|
||||||
|
Vue.component('username', Username)
|
||||||
|
|
||||||
export default {}
|
export default {}
|
||||||
|
|
Loading…
Reference in New Issue