Document new astro:route:setup hook#9064
Conversation
✅ Deploy Preview for astro-docs-2 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Lunaria Status Overview🌕 This pull request will trigger status changes. Learn moreBy default, every PR changing files present in the Lunaria configuration's You can change this by adding one of the keywords present in the Tracked Files
Warnings reference
|
sarah11918
left a comment
There was a problem hiding this comment.
Thank you for making this so easy for me, @bluwy 💪
I left a couple of quick suggestions for how I could envsion making this a bit more future-proof. See what you think, and whether this makes any sense!
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
|
I've added and updated the |
Description (required)
Adds documentation for the new
astro:route:setuphook based on the core PR below.The main use of this new hook is to configure route options dynamically (in this case, only the
prerenderoption for now). See the core PR for more info!Related issues & labels (optional)
For Astro version:
4.14. See astro PR withastro/astro#11657