elearning/Frontend-Learner/app.vue

17 lines
252 B
Vue
Raw Normal View History

2026-01-14 15:15:31 +07:00
<script setup>
const { fetchUserProfile, isAuthenticated } = useAuth()
onMounted(() => {
if (isAuthenticated.value) {
fetchUserProfile()
}
})
</script>
2026-01-13 10:46:40 +07:00
<template>
2026-01-13 12:55:21 +07:00
<GlobalLoader />
2026-01-13 10:46:40 +07:00
<NuxtLayout>
<NuxtPage />
</NuxtLayout>
</template>