elearning/Frontend-Learner/app.vue
2026-01-14 15:15:31 +07:00

16 lines
252 B
Vue

<script setup>
const { fetchUserProfile, isAuthenticated } = useAuth()
onMounted(() => {
if (isAuthenticated.value) {
fetchUserProfile()
}
})
</script>
<template>
<GlobalLoader />
<NuxtLayout>
<NuxtPage />
</NuxtLayout>
</template>