mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-04-15 12:55:14 +00:00
+ simple layout 3 tweaks + added modules to all pages + moved some stuff to the SharedModule from AppModule + typography page structure
35 lines
720 B
TypeScript
35 lines
720 B
TypeScript
import { NgModule } from '@angular/core';
|
|
import { SharedModule } from '../../../../../core/modules/shared.module';
|
|
import { RouterModule } from '@angular/router';
|
|
|
|
import { InvoiceCompactComponent } from './compact.component';
|
|
import { InvoiceService } from '../invoice.service';
|
|
|
|
const routes = [
|
|
{
|
|
path : 'pages/invoices/compact',
|
|
component: InvoiceCompactComponent,
|
|
resolve : {
|
|
search: InvoiceService
|
|
}
|
|
}
|
|
];
|
|
|
|
@NgModule({
|
|
declarations: [
|
|
InvoiceCompactComponent
|
|
],
|
|
imports : [
|
|
SharedModule,
|
|
RouterModule.forChild(routes)
|
|
],
|
|
providers : [
|
|
InvoiceService
|
|
]
|
|
})
|
|
|
|
export class InvoiceCompactModule
|
|
{
|
|
|
|
}
|