first, i want to Thank you aot for your great efforts and I have learned a lot from you in the past year and half. i have a small issue that happened with me in the past few days as I am using nuxt auth as u mentioned and if the user is auth true and at hard refresh of the page I get a glitsh of 1 sec or 2 that user is not auth and show me login and register buttons then it does change to the user data but the real issue is happened when I have a middleware in auth pages so if I made hard refresh or just typed the /dashboard directly I will logged of (because of the middle ware) and that happened because pinia is not loaded before the nuxt app is loaded. i wonder if you can make a video about how to ensure pinia states is loaded before app is mounted just like in vue app.js we used to call vuex before mount #app
Please release the next one😭😭
first, i want to Thank you aot for your great efforts and I have learned a lot from you in the past year and half. i have a small issue that happened with me in the past few days as I am using nuxt auth as u mentioned and if the user is auth true and at hard refresh of the page I get a glitsh of 1 sec or 2 that user is not auth and show me login and register buttons then it does change to the user data but the real issue is happened when I have a middleware in auth pages so if I made hard refresh or just typed the /dashboard directly I will logged of (because of the middle ware) and that happened because pinia is not loaded before the nuxt app is loaded. i wonder if you can make a video about how to ensure pinia states is loaded before app is mounted just like in vue app.js we used to call vuex before mount #app
Is an example possible with jwt?
i think for next we gonna use axios interceptors am i right
you probably *could* - but that's not what I'll do 😃 - stay tuned 😜