angular child routes not working

The solution for “angular child routes not working” can be found here. The following code will assist you in solving the problem.

When you use children inside of your routes the parent component needs to have  inside it’s html in order for the children to be loaded inside that parent. Angular Docs on Child Configuration

Additionally, with routed components it is not necessary to add the component selector inside the html of the parent component as they will be injected automatically by the router below your router-outlet.

more infos

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

inline scripts encapsulated in