chore(Layout): Refactored default Layout

This commit is contained in:
2023-11-11 16:33:30 +01:00
parent ee69746ac7
commit 2f4583f423
8 changed files with 29 additions and 25 deletions

View File

@@ -1,5 +1,5 @@
<script setup lang="ts">
definePageMeta({ middleware: ['auth'] })
definePageMeta({ middleware: ['guest'], layout: 'auth' })
const { logout } = useAuth()
logout()
</script>