Adding Astro.slot reference to "Components" #11858
Replies: 3 comments
-
Yes, I think linking could be helpful here! This page seems to mainly focus on the
|
Beta Was this translation helpful? Give feedback.
-
I will convert this discussion to an issue, and add |
Beta Was this translation helpful? Give feedback.
-
I think it's safe to close this discussion since it was fixed in #11900. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I was wondering if it would be a good idea to reference
Astro.slot
in the docs forBuild Your UI -> Components
. I had not usedAstro.slots
in quite some time and completely forgot what it even was called in order to search for it in the docs. I did do a search forslots
which brought me toBuild Your UI -> Components
.After Armand reminded me about
Astro.slots
, I did end up finding the reference underAstro Template Syntax -> Template expressions reference
(I also see that it does populate in the dropdown when search for slots, but I completely missed it).Obviously I dont think the content needs to be copied over, but I was thinking that adding a small link or "reference" section might make it a bit more visible.
Beta Was this translation helpful? Give feedback.
All reactions