nuxt
nuxt copied to clipboard
docs(schema): add NuxtHooks interface documentation
🔗 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.
Open in CodeSandbox Web Editor | VS Code | VS Code Insiders
This is great work, thank you ❤️
I'll look through and review in detail later.
@danielroe I updated the files according to your requests