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

docs: fix accessing custom props from child pages #21977

Merged
merged 2 commits into from Jul 6, 2023

Conversation

devzakir
Copy link
Contributor

@devzakir devzakir commented Jul 6, 2023

To call custom props from child pages, it requires $attrs

πŸ”— Linked issue

resolves #21976

❓ Type of change

  • πŸ“– Documentation (updates to the documentation, readme or JSdoc annotations)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

To call custom props from child pages, it requires $attrs
@stackblitz
Copy link

stackblitz bot commented Jul 6, 2023

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@nuxt-studio
Copy link

nuxt-studio bot commented Jul 6, 2023

βœ… Live Preview ready!

Name Edit Preview Latest Commit
Nuxt Docs Edit on Studio β†—οΈŽ View Live Preview c97bf39

@danielroe danielroe changed the title docs: added $ to access custom props from child pages. docs: fix accessing custom props from child pages Jul 6, 2023
@danielroe danielroe merged commit f4be14a into nuxt:main Jul 6, 2023
2 checks passed
@github-actions github-actions bot mentioned this pull request Jul 6, 2023
@devzakir devzakir deleted the patch-1 branch July 6, 2023 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

How to access Custom Props from child pages
2 participants