Angular Route Path Lazy

    0

    0

    Jose Romero

    Angular TypeScript Recipes

    The code creates a new lazy path that loads the lazy module when called.

    Library: angular

    Shortcut: angular.routes.path.lazy

    {
      path: 'path', 
      loadChildren: () => import('lazy-path').then(m => m.lazy-module)
    },
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.