dependencies Legend  Declarations  Module  Bootstrap  Providers  Exports cluster_EmployeeListModule cluster_EmployeeListModule_declarations cluster_EmployeeListModule_imports EmployeeListComponent EmployeeListComponent EmployeeListModule EmployeeListModule EmployeeListComponent->EmployeeListModule EmployeeDisplayModule EmployeeDisplayModule EmployeeDisplayModule->EmployeeListModule EmployeeApiModule EmployeeApiModule EmployeeApiModule->EmployeeListModule

File

libs/employee-list/src/employee-list.module.ts

import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule, Route } from '@angular/router';

import { EmployeeDisplayModule } from '@enterprise-example/employee-display';
import { EmployeeApiModule } from '@enterprise-example/employee-api';

import { EmployeeListComponent } from './employee-list/employee-list.component';

const ROUTES: Route[] = [
  { path: '', component: EmployeeListComponent }
];

@NgModule({
  declarations: [
    EmployeeListComponent
  ],
  imports: [
    EmployeeDisplayModule,
    EmployeeApiModule,
    CommonModule,
    RouterModule.forChild(ROUTES)
  ]
})
export class EmployeeListModule { }

results matching ""

    No results matching ""