mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-20 09:20:12 +01:00
- NgaModule - module wrapper for all ng2-admin custom features - Ng Module per page - async components load - menu moved (again) to a separate file (as now each module has its own route file) - no need to import Ba* directives into the pages which have NgaModule in the import statement
25 lines
647 B
TypeScript
25 lines
647 B
TypeScript
import { NgModule } from '@angular/core';
|
|
import { CommonModule } from '@angular/common';
|
|
import { FormsModule } from '@angular/forms';
|
|
import { NgaModule } from '../../theme/nga.module';
|
|
|
|
import { routing } from './tables.routing';
|
|
import { Tables } from './tables.component';
|
|
import { BasicTables } from './components/basicTables/basicTables.component';
|
|
import { SmartTables } from './components/smartTables/smartTables.component';
|
|
|
|
|
|
@NgModule({
|
|
imports: [
|
|
CommonModule,
|
|
FormsModule,
|
|
NgaModule,
|
|
routing
|
|
],
|
|
declarations: [
|
|
Tables,
|
|
BasicTables,
|
|
SmartTables
|
|
]
|
|
})
|
|
export default class TablesModule {}
|