Set up a dedicated Account Setttings page to hold account specific settings such as the push notifications.
22 lines
349 B
Vue
22 lines
349 B
Vue
<template>
|
|
<main>
|
|
<h1>Account Settings</h1>
|
|
<p>Name: {{ session?.account.name }}</p>
|
|
<p>Access: {{ session?.account.type }}</p>
|
|
<p>
|
|
<PushNotification />
|
|
</p>
|
|
</main>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
definePageMeta({
|
|
middleware: ["authenticated"],
|
|
});
|
|
|
|
const { data: session } = useAccountSession();
|
|
</script>
|
|
|
|
<style>
|
|
|
|
</style>
|