fuse-angular/src/app/main/content/components/components.module.ts

31 lines
791 B
TypeScript
Raw Normal View History

2017-07-29 13:42:53 +00:00
import { NgModule } from '@angular/core';
2017-08-02 08:53:30 +00:00
import { SharedModule } from '../../../core/modules/shared.module';
2017-07-29 13:42:53 +00:00
import { RouterModule } from '@angular/router';
2017-08-18 11:50:19 +00:00
import { FuseNgxDatatableComponent } from './datatable/ngx-datatable.component';
2017-08-04 09:15:25 +00:00
import { FusePriceTablesComponent } from './price-tables/price-tables.component';
2017-07-29 13:42:53 +00:00
const routes = [
{
path : 'components/datatables/ngx-datatable',
2017-08-18 11:50:19 +00:00
component: FuseNgxDatatableComponent
2017-08-04 09:15:25 +00:00
},
{
path : 'components/price-tables',
component: FusePriceTablesComponent
2017-07-29 13:42:53 +00:00
}
];
@NgModule({
imports : [
SharedModule,
RouterModule.forChild(routes)
],
declarations: [
2017-08-18 11:50:19 +00:00
FuseNgxDatatableComponent,
2017-08-04 09:15:25 +00:00
FusePriceTablesComponent
2017-07-29 13:42:53 +00:00
]
})
export class ComponentsModule
{
}