11 lines
195 B
TypeScript
11 lines
195 B
TypeScript
export default defineNuxtPlugin(async () => {
|
|
if (window.location.pathname === '/guest') return
|
|
const auth = useAuthStore()
|
|
|
|
console.log("Auth init")
|
|
|
|
await auth.initStore()
|
|
|
|
|
|
})
|