Hey, for the nuxt experts, are layouts a good way to handle authenticated pages? Aka redirect to login page if not authenticated in certain pages.
I know that in some frameworks, using layouts are not the best idea, for instance, in svelte, there is this weird issue that if you use layouts, it only checks for authentication the first time you enter a page using the layout, so for instance, if you enter page A, then go to page B and sign out, you can go back to page A and you will still be authenticated (kinda) and be able to do actions while not being authenticated...