Route
noun
say it: “ROWT” /raʊt/
An entry that maps an address path to the component to show for it.
What is Route?
A route maps a URL path to a component. The list of routes is the app's site map.
export const routes: Routes = [
{ path: '', component: Home },
{ path: 'recipes', component: RecipeList },
{ path: '**', component: NotFound },
];
In a sentence
- “The route { path: 'products', component: ProductList } shows the list at /products.”
Level: Apprentice · More Angular terms at this level
Updated