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

Custom page meta not available in layout #25630

Closed
LLCampos opened this issue Feb 5, 2024 · 4 comments
Closed

Custom page meta not available in layout #25630

LLCampos opened this issue Feb 5, 2024 · 4 comments

Comments

@LLCampos
Copy link

LLCampos commented Feb 5, 2024

Environment

  • Operating System: Linux
  • Node Version: v18.18.0
  • Nuxt Version: 3.10.0
  • CLI Version: 3.10.0
  • Nitro Version: 2.8.1
  • Package Manager: npm@10.2.3
  • Builder: -
  • User Config: extends
  • Runtime Modules: -
  • Build Modules: -

Reproduction

https://stackblitz.com/edit/nuxt-examples-xxjquf?file=pages%2Findex.vue

Describe the bug

Trying to use custom metadata, as described here and here, but its not working, as shown in the reproduction above.

I would expect the string "test" to appear above "hello world", but nothing appears.

Additional context

No response

Logs

No response

Copy link

stackblitz bot commented Feb 5, 2024

Fix this issue in StackBlitz Codeflow Start a new pull request in StackBlitz Codeflow.

@LLCampos LLCampos changed the title Custom Metadata not available in layout Custom page meta not available in layout Feb 5, 2024
@BobbieGoede
Copy link
Member

Your reproduction doesn't seem to be reproducing the issue you describe, I'm seeing "test" above "hello world". Maybe your reproduction doesn't match your local project?

@LLCampos
Copy link
Author

LLCampos commented Feb 5, 2024

It was not showing in Stackblitz before 🤦 Anyway, I'll close for now.

@LLCampos LLCampos closed this as completed Feb 5, 2024
@MahbodHastam
Copy link

I also have this problem. My code exact same with your Stackblitz, and it's not working on local.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants