Add:api-login

This commit is contained in:
supalerk-ar66 2026-01-14 15:15:31 +07:00
parent a6cddc6318
commit c411f2a8a4
20 changed files with 434 additions and 185 deletions

View file

@ -1,3 +1,13 @@
<script setup>
const { fetchUserProfile, isAuthenticated } = useAuth()
onMounted(() => {
if (isAuthenticated.value) {
fetchUserProfile()
}
})
</script>
<template>
<GlobalLoader />
<NuxtLayout>