export default defineNuxtPlugin({ name: 'auth-restore', parallel: false, setup() { const authStore = useAuthStore(); // Restore auth state from cookies on app initialization // useCookie works on both server and client authStore.checkAuth(); } });