I'm using nuxt 3 for a project and can't find an easy way to do authentication with Laravel and Sanctum.
The @nuxtjs/axios module is only compatible for nuxt 2 and the package a developer provided for nuxt 3 (@nuxtjs-alt/auth) doesn't provide much documentation. I tried to implement it but nuxtApp().$auth always returns undefined.
How can I authenticate my user in the Login screen and then have an auth middleware to secure my routes? I reiterate the use of NUXT3