Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const routes: Routes = [
- {
- path: 'science',
- component: ScienceComponent,
- data: { num: 1 }
- },
- {
- path: 'technology',
- component: TechnologyComponent,
- data: { num: 5 }
- },
- { path: '**', redirectTo: '' },
- ];
Add Comment
Please, Sign In to add comment