mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-04-27 10:33:12 +00:00
37 lines
942 B
TypeScript
37 lines
942 B
TypeScript
import { NgModule } from '@angular/core';
|
|
import { RouterModule, Routes } from '@angular/router';
|
|
import { FuseProjectComponent } from './project.component';
|
|
import { SharedModule } from '../../../../../core/modules/shared.module';
|
|
import { ProjectsDashboardService } from './projects.service';
|
|
import { FuseWidgetModule } from '../../../../../core/components/widget/widget.module';
|
|
import { NgxChartsModule } from '@swimlane/ngx-charts';
|
|
|
|
const routes: Routes = [
|
|
{
|
|
path : 'apps/dashboards/project',
|
|
component: FuseProjectComponent,
|
|
resolve : {
|
|
data: ProjectsDashboardService
|
|
}
|
|
}
|
|
];
|
|
|
|
@NgModule({
|
|
imports : [
|
|
SharedModule,
|
|
RouterModule.forChild(routes),
|
|
FuseWidgetModule,
|
|
NgxChartsModule
|
|
],
|
|
declarations: [
|
|
FuseProjectComponent
|
|
],
|
|
providers : [
|
|
ProjectsDashboardService
|
|
]
|
|
})
|
|
export class ProjectModule
|
|
{
|
|
}
|
|
|