Add:api-login
This commit is contained in:
parent
a6cddc6318
commit
c411f2a8a4
20 changed files with 434 additions and 185 deletions
|
|
@ -1,3 +1,13 @@
|
|||
<script setup>
|
||||
const { fetchUserProfile, isAuthenticated } = useAuth()
|
||||
|
||||
onMounted(() => {
|
||||
if (isAuthenticated.value) {
|
||||
fetchUserProfile()
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<GlobalLoader />
|
||||
<NuxtLayout>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue