export default defineNuxtConfig({
devtools: { enabled: true },
modules: [
"@pinia/nuxt",
"@nuxtjs/tailwindcss",
"nuxt-headlessui",
]
})
redirect
Default: true
Redirect automatically to the configured login page if a non authenticated user is trying to access a guarded. You can disable all redirects by setting this option to false.