From e9ae850002bb462016fbdcc912ec6e57a763eaed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=BCnther?= Date: Thu, 5 Feb 2026 07:40:00 +0100 Subject: [PATCH] Display nicename in dashboard --- app/Domains/Dashboard/Views/Dashboard.vue | 2 ++ app/Providers/InertiaProvider.php | 3 +- app/Resources/UserResource.php | 34 +++++++++++++++++++++++ app/Views/Pages/Home.vue | 14 ---------- public/css/app.css | 9 ++++++ resources/js/layouts/AppLayout.vue | 9 +++--- 6 files changed, 52 insertions(+), 19 deletions(-) create mode 100644 app/Resources/UserResource.php delete mode 100644 app/Views/Pages/Home.vue diff --git a/app/Domains/Dashboard/Views/Dashboard.vue b/app/Domains/Dashboard/Views/Dashboard.vue index 5d0b9d7..dcb2b82 100644 --- a/app/Domains/Dashboard/Views/Dashboard.vue +++ b/app/Domains/Dashboard/Views/Dashboard.vue @@ -8,6 +8,8 @@ const props = defineProps({ user: Object, currentPath: String, }) + +console.log(props.user.nicename)