your recipe card header background

    Angular Route Path with Children

    0

    0

    lucycodes42

    Angular snippets for TypeScript

    The code creates an array of objects, containing the path and the component of the childpath. The childpath element has the path and the component of the childcomponent as children.

    Library: angular

    Shortcut: a_route_path_with_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.