1 import { RouterModule, Routes } from '@angular/router';
2 import { NgModule } from '@angular/core';
4 import { PagesComponent } from './pages.component';
5 import { DashboardComponent } from './dashboard/dashboard.component';
6 import { ProjectsComponent } from './projects/projects.component';
7 import { SdksComponent } from './sdks/sdks.component';
8 import { BuildComponent } from './build/build.component';
10 const routes: Routes = [{
12 component: PagesComponent,
15 component: DashboardComponent,
18 component: ProjectsComponent,
21 component: SdksComponent,
24 component: BuildComponent,
27 loadChildren: './config/config.module#ConfigModule',
31 redirectTo: 'dashboard',
37 imports: [RouterModule.forChild(routes)],
38 exports: [RouterModule],
40 export class PagesRoutingModule {