{
        path: 'path', 
        component: Component,
        children: [
          { path: 'childpath', component: ChildComponent }
        ]
      },

      Typescript language logo
      your recipe card header background
      Angular Route Path With Children

      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).

      Shortcut: angular.routes.path.children

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.