mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-01-23 09:46:10 +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
14 lines
355 B
TypeScript
14 lines
355 B
TypeScript
import { NgModule } from '@angular/core';
|
|
import { CommonModule } from '@angular/common';
|
|
|
|
import { routing } from './pages.routing';
|
|
import { NgaModule } from '../theme/nga.module';
|
|
|
|
import { Pages } from './pages.component';
|
|
|
|
@NgModule({
|
|
imports: [CommonModule, NgaModule, routing],
|
|
declarations: [Pages]
|
|
})
|
|
export class PagesModule {
|
|
}
|