// plugins/auth.client.ts export default defineNuxtPlugin(async () => { const auth = useAuth() await auth.checkAuth() })