useAuthuseAuth inside createRouter({..}).beaforeEachcreateRouter({..}).beaforeEach. AuthProvider context is undefined, please verify you are calling useAuth() as child of a <AuthProvider> component.AuthProvider context is undefined, please verify you are calling useAuth() as child of a <AuthProvider> component.<template>
<AppLayout />
</template><template>
<AppLayout />
</template><template>
<component :is="layout">
<RouterView />
</component>
</template><template>
<component :is="layout">
<RouterView />
</component>
</template>Join the Discord to ask follow-up questions and connect with the community