Closed steklopod closed 2 years ago
You have to get $auth
from useNuxtApp
.
Thank you for quick reply. I tried this, but it seems not to be typed. There are no suggestions from IDE:
For example, in nuxt 2 project I have suggestions:
Here is related topic: https://github.com/nuxt-community/auth-module/issues/1097
I've updated the package, try to see if that works for you, if not, also try using const auth = useAuth()
Wow! Thanks a lot! Now all suggestions are in place!
Hi guys. Thank you for your work. I'm currently moving from
nuxt 2
tonuxt 3
and I found your library. I am new atnuxt 3
and can't realize how to configurenuxtjs-alt/auth
.Comunity will be happier if you provide any link with example.
I tried something like this, but it obviously is not working solution:
I am backender, so pls, don't be angry if it is stupid question