Angular Default Route Path

    0

    0

    lucycodes42

    Angular snippets for TypeScript

    The pathMatch property refers to a regular expression that can be used to determine if a path is a complete path or not. If the pathMatch property is set to full, then the path property will only contain the path portion of the URL. If the pathMatch property is set to partial, then the path property will contain the path, file name, and extension, if any, of the URL. If the pathMatch property is set to none, then the path property will contain the full URL.

    Library: angular

    Shortcut: a_route_path_default

    { path: '', pathMatch: 'full', redirectTo: 'path' },
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    Legal
    • Security
    • Privacy Policy
    • Code Privacy
    • Terms of Service
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.