Skip to content

docs: documentation improvement to better understand how to use pageRef on the parent page#26806

Merged
danielroe merged 2 commits intonuxt:mainfrom
edwinfadul:patch-3
Apr 17, 2024
Merged

docs: documentation improvement to better understand how to use pageRef on the parent page#26806
danielroe merged 2 commits intonuxt:mainfrom
edwinfadul:patch-3

Conversation

@edwinfadul
Copy link
Copy Markdown
Contributor

📚 Description

This pull request aims to improve the documentation related to the usage of pageRef on the parent page in Nuxt.js.

Changes Made:

  • Enhanced the documentation to provide clearer explanations and examples on how to effectively utilize pageRef on the parent page.
  • Added detailed instructions on how to access and interact with the pageRef property within the context of the parent page.
  • Included examples demonstrating various use cases of pageRef, such as accessing methods and properties of child components, passing data between parent and child components, and handling events.
  • Clarified any ambiguities or potential points of confusion in the previous documentation regarding the usage of pageRef.

Why is this change required?

The current documentation lacks sufficient information on how to properly use pageRef on the parent page, which may result in confusion and difficulties for users trying to leverage this feature. By improving the documentation, we aim to provide users with a comprehensive understanding of how to effectively utilize pageRef on the parent page, thereby enhancing their experience with Nuxt.js.

…f on the parent page

documentation improvement to better understand how to use pageRef on the parent page
@bolt-new-by-stackblitz
Copy link
Copy Markdown

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

@edwinfadul
Copy link
Copy Markdown
Contributor Author

@antfu

Copy link
Copy Markdown
Member

@danielroe danielroe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you! ❤️

@danielroe danielroe merged commit 9119475 into nuxt:main Apr 17, 2024
@github-actions github-actions bot mentioned this pull request Apr 17, 2024
4 tasks
danielroe pushed a commit to ivan-kalachikov/nuxt that referenced this pull request Apr 17, 2024
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.

2 participants