nuxt icon indicating copy to clipboard operation
nuxt copied to clipboard

docs(schema): add NuxtHooks interface documentation

Open Draichi opened this issue 1 year ago • 2 comments

🔗 Linked issue

https://github.com/nuxt/nuxt/issues/13653

❓ Type of change

  • [x] 📖 Documentation (updates to the documentation or readme)
  • [ ] 🐞 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)
  • [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

The section Nuxt Hooks (build time) is not yet complete on the live docs page, and it's wrongly marked as "OK" as commented here

This PR adds the documentation on the interface itself and on the lifecycle hooks docs page.

This PR is important to provide information about nuxt hooks and to avoid delving into the source code to understand the hooks like I did myself.

Please make sure the description I provided for each hook is correct

Thank you

📝 Checklist

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

Draichi avatar Feb 04 '23 06:02 Draichi

CodeSandbox logoCodeSandbox logo  Open in CodeSandbox Web Editor | VS Code | VS Code Insiders

codesandbox[bot] avatar Feb 04 '23 06:02 codesandbox[bot]

This is great work, thank you ❤️

I'll look through and review in detail later.

danielroe avatar Feb 04 '23 09:02 danielroe

@danielroe I updated the files according to your requests

Draichi avatar Feb 04 '23 22:02 Draichi