Closed Arbust908 closed 4 months ago
"@nuxtjs/supabase": "^1.1.6", "nuxt": "^3.9.3", "vue": "^3.4.14", "vue-router": "^4.2.5"
Reproduction
@nuxtjs/supabase
.config
[Vue Router warn]: No match found for location with path "/login"
/pages/index.vue
<NuxtLayout>
<NuxtPage>
app.vue
/layouts/default.vue
[nuxt] Your project has layouts but the
component has not been used.
I expect not to get an error when layouts and <NuxtLayout /> are being correctly used.
layouts
<NuxtLayout />
I get the [nuxt] Your project has layouts but thecomponent 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 .
Version
"@nuxtjs/supabase": "^1.1.6", "nuxt": "^3.9.3", "vue": "^3.4.14", "vue-router": "^4.2.5"
Reproduction Link
Reproduction
Steps to reproduce
@nuxtjs/supabase
(Add .env with required variables and add module to.config
)[Vue Router warn]: No match found for location with path "/login"
/pages/index.vue
, add<NuxtLayout>
&&<NuxtPage>
toapp.vue
and add a/layouts/default.vue
[nuxt] Your project has layouts but the
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
component has not been used.
error on the console. Still the layout gets applied