angular-routing

Installation
SKILL.md

Angular Routing

Configure routing in Angular v20+ with lazy loading, functional guards, and signal-based route parameters.

Basic Setup

// app.routes.ts
import { Routes } from "@angular/router";

export const routes: Routes = [
  { path: "", redirectTo: "/home", pathMatch: "full" },
  { path: "home", component: Home },
  { path: "about", component: About },
  { path: "**", component: NotFound },
];

// app.config.ts
import { ApplicationConfig } from "@angular/core";
Related skills
Installs
1
GitHub Stars
26
First Seen
Apr 2, 2026