Created
November 28, 2020 06:45
-
-
Save thisiszoaib/5254a8f516b9e9e7cbd9dfeee9f3e55e to your computer and use it in GitHub Desktop.
Tabs 3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const routes: Routes = [ | |
| { | |
| path: '', | |
| pathMatch: 'full', | |
| redirectTo: 'one', | |
| }, | |
| { | |
| path: 'one', | |
| loadChildren: () => | |
| import('./section-one/section-one.module').then( | |
| (m) => m.SectionOneModule | |
| ), | |
| }, | |
| { | |
| path: 'two', | |
| loadChildren: () => | |
| import('./section-two/section-two.module').then( | |
| (m) => m.SectionTwoModule | |
| ), | |
| }, | |
| { | |
| path: 'three', | |
| loadChildren: () => | |
| import('./section-three/section-three.module').then( | |
| (m) => m.SectionThreeModule | |
| ), | |
| }, | |
| ]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment