mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-19 17:00:13 +01:00
feat(rc5): update to angular rc.5
- 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
This commit is contained in:
parent
983f6f1675
commit
5b7c132eac
86 changed files with 854 additions and 384 deletions
37
src/app/pages/dashboard/dashboard.module.ts
Normal file
37
src/app/pages/dashboard/dashboard.module.ts
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
import { NgModule } from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { FormsModule } from '@angular/forms';
|
||||
import { NgaModule } from '../../theme/nga.module';
|
||||
|
||||
import { Dashboard } from './dashboard.component';
|
||||
import { routing } from './dashboard.routing';
|
||||
|
||||
import { PopularApp } from './popularApp';
|
||||
import { PieChart } from './pieChart';
|
||||
import { TrafficChart } from './trafficChart';
|
||||
import { UsersMap } from './usersMap';
|
||||
import { LineChart } from './lineChart';
|
||||
import { Feed } from './feed';
|
||||
import { Todo } from './todo';
|
||||
import { Calendar } from './calendar';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
CommonModule,
|
||||
FormsModule,
|
||||
NgaModule,
|
||||
routing
|
||||
],
|
||||
declarations: [
|
||||
PopularApp,
|
||||
PieChart,
|
||||
TrafficChart,
|
||||
UsersMap,
|
||||
LineChart,
|
||||
Feed,
|
||||
Todo,
|
||||
Calendar,
|
||||
Dashboard
|
||||
]
|
||||
})
|
||||
export default class DashboardModule {}
|
||||
Loading…
Add table
Add a link
Reference in a new issue