mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-04-13 03:51:37 +00:00
35 lines
726 B
TypeScript
35 lines
726 B
TypeScript
import { NgModule } from '@angular/core';
|
|
import { SharedModule } from '../../../../../core/modules/shared.module';
|
|
import { RouterModule } from '@angular/router';
|
|
|
|
import { FuseInvoiceCompactComponent } from './compact.component';
|
|
import { InvoiceService } from '../invoice.service';
|
|
|
|
const routes = [
|
|
{
|
|
path : 'invoices/compact',
|
|
component: FuseInvoiceCompactComponent,
|
|
resolve : {
|
|
search: InvoiceService
|
|
}
|
|
}
|
|
];
|
|
|
|
@NgModule({
|
|
declarations: [
|
|
FuseInvoiceCompactComponent
|
|
],
|
|
imports : [
|
|
SharedModule,
|
|
RouterModule.forChild(routes)
|
|
],
|
|
providers : [
|
|
InvoiceService
|
|
]
|
|
})
|
|
|
|
export class InvoiceCompactModule
|
|
{
|
|
|
|
}
|