16 lines
366 B
Vue
16 lines
366 B
Vue
<template>
|
|
<StandardLayout>
|
|
<h1>Dashboard</h1>
|
|
<p>Hello, {{ user.name }}</p>
|
|
</StandardLayout>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import { ref } from 'vue';
|
|
import { useUserStore } from '../store/user.store';
|
|
import StandardLayout from '../components/StandardLayout.vue';
|
|
|
|
const userStore = useUserStore();
|
|
const user = ref(userStore.user);
|
|
</script>
|