18 lines
632 B
TypeScript
18 lines
632 B
TypeScript
import { NgModule, Type } from '@angular/core';
|
|
import { SharedModule } from '@shared';
|
|
|
|
// dashboard pages
|
|
import { DashboardComponent } from './dashboard/dashboard.component';
|
|
import { RouteRoutingModule } from './routes-routing.module';
|
|
import { BasicTableComponent } from './commom/components/basic-table/basic-table.component';
|
|
|
|
const COMPONENTS = [DashboardComponent, BasicTableComponent];
|
|
const COMPONENTS_NOROUNT: Array<Type<void>> = [];
|
|
|
|
@NgModule({
|
|
imports: [SharedModule, RouteRoutingModule],
|
|
declarations: [...COMPONENTS, ...COMPONENTS_NOROUNT],
|
|
entryComponents: COMPONENTS_NOROUNT
|
|
})
|
|
export class RoutesModule {}
|