your recipe card header background

    Angular Route Path With Children



    Jose Romero

    Angular TypeScript Recipes

    The code defines a path to a component, and a list of child components that will be loaded along with it. The path is relative to the component's parent (in this case, the document).

    Library: angular

    Shortcut: angular.routes.path.children

      path: 'path', 
      component: Component,
      children: [
        { path: 'childpath', component: ChildComponent }
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Explore
    • Cookbooks
    • Playground
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.