Using steps component with auxiliary router #265
Unanswered
rory-magee
asked this question in
PrimeNG
Replies: 1 comment
-
Hi, Could you please share a stackblitz example by forking this demo so we can identify the issue precisely https://stackblitz.com/edit/petyx4?file=src%2Fapp%2Fdemo%2Fsteps-routing-demo.ts |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using angular routing with a
router-outlet
in my main app.component.html. Within another component I want to use the 'steps' component so I have another auxiliaryrouter-outlet
namedcampaignoutlet
in that componentAnd my
MenuItems
for the above component are as follows:And in my routing module I have the following routes defined with the bottom four routes having the
outlet: 'campaignoutlet'
attribute which based on angular documentation should load those components in the auxiliary router outlet defined above.Clicking each of the steps in the steps component does not update the auxiliary router outlet (or even the main router outlet). Is there something additional I need to do to tell the steps component which outlet I want to use?
Beta Was this translation helpful? Give feedback.
All reactions