initial commit
This commit is contained in:
commit
4fc3bb0a01
202 changed files with 41729 additions and 0 deletions
15
resources/js/Components/UserAvatarCurrentUser.vue
Normal file
15
resources/js/Components/UserAvatarCurrentUser.vue
Normal file
|
@ -0,0 +1,15 @@
|
|||
<script setup>
|
||||
import { computed } from 'vue'
|
||||
// import { usePage } from '@inertiajs/vue3'
|
||||
import { usePage } from '@inertiajs/vue3'
|
||||
import UserAvatar from '@/Components/UserAvatar.vue'
|
||||
|
||||
const userName = computed(() => usePage().props.auth?.user.name)
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<UserAvatar
|
||||
v-bind:username="'userName'"
|
||||
api="initials"
|
||||
/>
|
||||
</template>
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue