monacousa-portal/pages
Matt c6a57c7922
Build And Push Image / docker (push) Successful in 2m59s Details
Fix redirect loops and SSR hydration issues in auth flow
- Replace ref with useState in useAuth for SSR compatibility
- Move navigation logic from top-level to onMounted hooks
- Add guest middleware to login page to prevent auth conflicts
- Simplify dashboard auth checks by relying on middleware
- Add loading state to index page during auth resolution

This prevents infinite redirect loops and hydration mismatches that
occurred during server-side rendering when navigating between
authenticated and unauthenticated states.
2025-08-07 17:21:18 +02:00
..
auth Initialize Nuxt.js project with Docker deployment setup 2025-08-06 14:31:16 +02:00
dashboard Fix redirect loops and SSR hydration issues in auth flow 2025-08-07 17:21:18 +02:00
index.vue Fix redirect loops and SSR hydration issues in auth flow 2025-08-07 17:21:18 +02:00
login.vue Fix redirect loops and SSR hydration issues in auth flow 2025-08-07 17:21:18 +02:00