Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

angular configure routes

content_copy
const routes: Routes = [
  { path: 'first-component', component: FirstComponent },
  { path: 'second-component', component: SecondComponent },
];
Source by angular.io #
 
PREVIOUS NEXT
Tagged: #angular #configure #routes
ADD COMMENT
Topic
Name
6+1 =