@@ -15,34 +15,41 @@ import {
1515 WrappersComponent ,
1616} from './containers' ;
1717
18-
1918const routes : Routes = [
20- { path : 'landing' , redirectTo : '' } ,
21- { path : '' , component : LandingComponent } ,
22- { path : 'performance' , component : PerformanceComponent , children : [
19+ { path : 'landing' , redirectTo : '' } ,
20+ { path : '' , component : LandingComponent } ,
21+ {
22+ path : 'performance' ,
23+ component : PerformanceComponent ,
24+ children : [
2325 { path : '' , redirectTo : 'angular' , pathMatch : 'full' } ,
2426 { path : 'angular' , component : AngularPerfComponent } ,
2527 { path : 'mixed' , component : MixedPerfComponent } ,
2628 { path : 'profiles' , component : ProfilesComponent } ,
27- ] } ,
28- { path : 'components' , component : ComponentDocsComponent , children : [
29+ ] ,
30+ } ,
31+ {
32+ path : 'components' ,
33+ component : ComponentDocsComponent ,
34+ children : [
2935 { path : '' , redirectTo : 'fabric' , pathMatch : 'full' } ,
3036 { path : 'fabric' , component : FabricComponent } ,
3137 { path : 'semantic-ui' , component : SemanticUiComponent } ,
32- ] } ,
33- { path : 'docs' , component : DocsComponent , children : [
38+ ] ,
39+ } ,
40+ {
41+ path : 'docs' ,
42+ component : DocsComponent ,
43+ children : [
3444 { path : '' , redirectTo : 'getting-started' , pathMatch : 'full' } ,
3545 { path : 'getting-started' , component : GettingStartedComponent } ,
3646 { path : 'wrappers' , component : WrappersComponent } ,
37- ] } ,
47+ ] ,
48+ } ,
3849] ;
3950
4051@NgModule ( {
41- imports : [
42- RouterModule . forRoot ( routes )
43- ] ,
44- exports : [
45- RouterModule
46- ] ,
52+ imports : [ RouterModule . forRoot ( routes ) ] ,
53+ exports : [ RouterModule ] ,
4754} )
4855export class AppRoutingModule { }
0 commit comments