2021-11-27 22:21:52 +08:00
|
|
|
import { NgModule, Type } from '@angular/core';
|
|
|
|
|
import { SharedModule } from '@shared';
|
2021-12-23 15:59:49 +08:00
|
|
|
|
2021-11-27 22:21:52 +08:00
|
|
|
// dashboard pages
|
2021-12-23 15:59:49 +08:00
|
|
|
import { NgxEchartsModule } from 'ngx-echarts';
|
|
|
|
|
|
2021-11-27 22:21:52 +08:00
|
|
|
import { DashboardComponent } from './dashboard/dashboard.component';
|
|
|
|
|
// single pages
|
|
|
|
|
import { UserLockComponent } from './passport/lock/lock.component';
|
|
|
|
|
// passport pages
|
|
|
|
|
import { UserLoginComponent } from './passport/login/login.component';
|
2021-12-23 15:59:49 +08:00
|
|
|
import { RouteRoutingModule } from './routes-routing.module';
|
2021-11-27 22:21:52 +08:00
|
|
|
|
|
|
|
|
const COMPONENTS: Array<Type<void>> = [
|
|
|
|
|
DashboardComponent,
|
|
|
|
|
// passport pages
|
|
|
|
|
UserLoginComponent,
|
|
|
|
|
// single pages
|
2021-12-23 15:59:49 +08:00
|
|
|
UserLockComponent
|
2021-11-27 22:21:52 +08:00
|
|
|
];
|
|
|
|
|
|
|
|
|
|
@NgModule({
|
2021-12-23 15:59:49 +08:00
|
|
|
imports: [SharedModule, RouteRoutingModule, NgxEchartsModule],
|
|
|
|
|
declarations: COMPONENTS
|
2021-11-27 22:21:52 +08:00
|
|
|
})
|
|
|
|
|
export class RoutesModule {}
|