Actually,I have child components to my component and for those child components I don’t have any…
sravya setty
1

If child components don’t have a real router path in the router config. This solution won’t work for it. But I think this can work if you will do that for parent component. Or by creating routing path for that child components