Injecting components into parent layout from outlet #12622
Unanswered
AndrewJSchoen
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey all,
I am trying to set up some routes in an app that uses a layout and outlets. Specifically, the layout is mostly handling the presence of a menu bar, and the outlet manages a set of pages. In this case, one subset of these pages needs to augment the content of that menu bar with additional capabilities, but those items need to live within a context for that outlet. Right now we are getting around that by literally duplicating/augmenting the menu bar in that specific route and not nesting it within the main layout route. Theoretically, this would call for something like a Portal, but wasn't sure how well that would play out with the routing happening. Does anyone have any suggestions on how this might be achieved in order to re-use the same layout?
Just to fully lay out the current/desired:
Beta Was this translation helpful? Give feedback.
All reactions