Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MINOR: <NuxtLayout /> component has not been used. #328

Open
Arbust908 opened this issue Jan 27, 2024 · 1 comment
Open

MINOR: <NuxtLayout /> component has not been used. #328

Arbust908 opened this issue Jan 27, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Arbust908
Copy link

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

  • 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> to app.vue and add a /layouts/default.vue
  • Add '/login' from docs
  • Get [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

@Arbust908 Arbust908 added the bug Something isn't working label Jan 27, 2024
@selemondev
Copy link

selemondev commented May 19, 2024

Hey there @Arbust908 , this issue is related to Nuxt and not the @nuxtjs/supabase module. The issue is currently being tracked here .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants