Closed mittci closed 2 years ago
nuxt 3 edge
https://github.com/Maxp777/nuxt3
That not work now, but worked some time ago
import { defineNuxtPlugin } from '#app' export default defineNuxtPlugin((nuxtApp) => { nuxtApp.$auth.onRedirect((to: any) => { console.log(nuxtApp.$localePath(to)) // <-----------------------it output infinite times return nuxtApp.$localePath(to) }) })
With that work, or is need to return second parameter options as an object like in original module
https://github.com/Teranode/nuxt-module-alternatives/pulls
No response
update your auth module.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Environment
nuxt 3 edge
Nuxt Config
https://github.com/Maxp777/nuxt3
Reproduction
https://github.com/Maxp777/nuxt3
Describe the bug
That not work now, but worked some time ago
Additional context
With that work, or is need to return second parameter options as an object like in original module
https://github.com/Teranode/nuxt-module-alternatives/pulls
Logs
No response