Polarcraft/webv2/pages/index.vue

17 lines
232 B
Vue
Raw Normal View History

2023-06-04 22:47:48 +02:00
<template>
<div>
2023-06-12 15:56:09 +02:00
<div>
{{ user.username }}
</div>
2023-06-04 22:47:48 +02:00
</div>
</template>
<script lang="ts" setup>
definePageMeta({
2023-06-12 15:56:09 +02:00
middleware: ['auth'],
title: 'Dashboard | Polarcraft'
2023-06-04 22:47:48 +02:00
})
const user = useState('user')
</script>