supabase
supabase copied to clipboard
MINOR: `<NuxtLayout />` component has not been used.
Version
"@nuxtjs/supabase": "^1.1.6", "nuxt": "^3.9.3", "vue": "^3.4.14", "vue-router": "^4.2.5"
Reproduction Link
Steps to reproduce
- Start new nuxt
- Add
@nuxtjs/supabase
(Add .env with required variables and add module to.config
) - Get
[Vue Router warn]: No match found for location with path "/login"
- Add
/pages/index.vue
, add<NuxtLayout>
&&<NuxtPage>
toapp.vue
and add a/layouts/default.vue
- Add '/login' from docs
- Get
[nuxt] Your project has layouts but the
<NuxtLayout />component has not been used.
What is Expected?
I expect not to get an error when layouts
and <NuxtLayout />
are being correctly used.
What is actually happening?
I get the [nuxt] Your project has layouts but the
<NuxtLayout /> component has not been used.
error on the console. Still the layout gets applied
Hey there @Arbust908 , this issue is related to Nuxt and not the @nuxtjs/supabase
module. The issue is currently being tracked here .