Logout NUXT SSR Issue
Guys please need some tips on where to dig.
I'm quite noob when it comes to project specifics when it's in SSR mode.
So I built an app using NUXT 3 and STRAPI 4 for the API. Everything was working perfect with SSR:false until I found out that for the SEO I need to move to SSR:true.
Problem: When I navigate through project using novigateTo() or <NuxtLink> and try to logout it won't let me to do so. To successfully logout I need to location.reload() to succeed.
Please any tips where to dig, where to watch.
Have a blessing day to everyone.
2 Replies
can you show some code or be more specific? How do you handle auth?
if there is no error and the only issue for you is that it doesn't route, I could suggest to enforce external routing like so: