NuxtN
Nuxt4y ago
cosbgn

CSS (maybe layout) doesn't get applied with `navigateTo()`

I have a middleware which checks if the user is logged in, if not redirects to the login page using navigateTo(). My issue is that the css doesn't get applied like this. This is a quick reproduction video: https://share.getcloudapp.com/JruyzZoD
You can test yourself by navigating to endtype.com/welcome which will redirect you to endtype.com/auth however the css wont' be applied till you refresh the page
Was this page helpful?