-
-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Middleware Doesnt Seem To Work With Nuxt Ionic #19
Comments
this bug has been here for a while, if there is an alternate way to create navigation guards without using middleware can someone please suggest otherwise how to I create an app that requires authentication with this nuxt-ionc module? |
This also was my biggest issue with this module. This module actually makes working with ionic fun instead of cumbersome. Once this get's resolved it's gonna be amazing! |
@daver987 I solved my issue by using ionic's LifeCycle methods. I wanted to use middleware for authentication, but now I just check in ionViewWillEnter |
Issue nuxt-modules#19 has been closed.
I will have to check that out! Thank you for the tip. :)
On Sep 4, 2022, at 10:42 PM, Aaron K Saunders ***@***.******@***.***>> wrote:
@daver987<https://github.com/daver987> I solved my issue by using ionic's LifeCycle methods<https://ionicframework.com/docs/vue/lifecycle>. I wanted to use middleware for authentication, but now I just check in ionViewWillEnter
β
Reply to this email directly, view it on GitHub<#19 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AUIQIWWR4KK4MIRMFGX3LXTV4VMZRANCNFSM52OUPDUA>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
π The bug
middleware is not being called
π οΈ To reproduce
https://stackblitz.com/edit/github-jxba2j?file=pages/tabs/tab3.vue
π Expected behaviour
middleware to be called
βΉοΈ Additional context
No response
The text was updated successfully, but these errors were encountered: