[Monitor Dashboard | Trunk]: Remove shared module, already exists at library
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@57946 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
3fcc64f060
commit
246e611474
|
@ -1,45 +0,0 @@
|
||||||
import { NgModule, ModuleWithProviders } from '@angular/core';
|
|
||||||
import { CommonModule } from '@angular/common';
|
|
||||||
import { RouterModule } from '@angular/router';
|
|
||||||
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
||||||
|
|
||||||
|
|
||||||
const MODULES = [
|
|
||||||
// Do NOT include UniversalModule, HttpModule, or JsonpModule here
|
|
||||||
CommonModule,
|
|
||||||
RouterModule,
|
|
||||||
FormsModule,
|
|
||||||
ReactiveFormsModule
|
|
||||||
];
|
|
||||||
|
|
||||||
const PIPES = [
|
|
||||||
// put pipes here
|
|
||||||
];
|
|
||||||
|
|
||||||
const COMPONENTS = [
|
|
||||||
// put shared components here
|
|
||||||
];
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@NgModule({
|
|
||||||
imports: [
|
|
||||||
...MODULES
|
|
||||||
],
|
|
||||||
declarations: [
|
|
||||||
...PIPES,
|
|
||||||
...COMPONENTS
|
|
||||||
],
|
|
||||||
exports: [
|
|
||||||
...MODULES,
|
|
||||||
...PIPES,
|
|
||||||
...COMPONENTS
|
|
||||||
]
|
|
||||||
})
|
|
||||||
export class SharedModule {
|
|
||||||
static forRoot(): ModuleWithProviders {
|
|
||||||
return {
|
|
||||||
ngModule: SharedModule,
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue