feat: login

This commit is contained in:
2024-03-04 09:20:35 +08:00
parent ea2d53bb44
commit de336dbc72
12 changed files with 409 additions and 41 deletions

10
app.vue
View File

@@ -1,3 +1,11 @@
<script setup lang="ts">
const loginState = useLoginState()
onMounted(() => {
loginState.checkSession()
})
</script>
<template>
<div>
<NuxtLayout>
@@ -5,6 +13,6 @@
</NuxtLayout>
<UModals/>
<UNotifications />
<UNotifications/>
</div>
</template>