Arno Kaimbacher
080c21126b
- add notification messages via notiwind.ts - add Project.ts - add new component TabelPersons.vue - add additional routes - npm updates
13 lines
353 B
Vue
13 lines
353 B
Vue
<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>
|