Angular 404 Route Path

    0

    0

    lucycodes42

    Angular snippets for TypeScript

    The code uses the ** template string to represent the path parameter. The PathNotFoundComponent is used to display an error message if the requested path is not found.

    Library: angular

    Shortcut: a_route_path_404

    { path: '**', component: PathNotFoundComponent },
    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.