Advertisement
sangueroots

route root

Jul 26th, 2019
514
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. imports: [
  2.     BrowserModule.withServerTransition({ appId: 'ng-cli-universal' }),
  3.     HttpClientModule,
  4.     FormsModule,
  5.     FinanceiroModule,
  6.     CategoriaSinteticaModule,
  7.     DashboardModule,
  8.     RouterModule.forRoot([
  9.       { path: '', component: HomeComponent, pathMatch: 'full' },
  10.       { path: 'counter', component: CounterComponent },
  11.       { path: 'fetch-data', component: FetchDataComponent },
  12.       { path: 'financeiro', loadChildren: './modules/financeiro/financeiro.module#FinanceiroModule'},
  13.       { path: 'categoria-sintetica', loadChildren: './modules/categoria-sintetica/categoria-sintetica.module#CategoriaSinteticaModule'},
  14.       { path: 'dashboard', loadChildren: './modules/dashboard/dashboard.module#DashboardModule'},
  15.     ])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement