chore: base layout

This commit is contained in:
tibing 2017-04-13 14:24:23 +03:00
parent 1fb884a633
commit d82d691681
19 changed files with 195 additions and 44 deletions

View file

@ -0,0 +1,16 @@
import { NgModule, Optional, SkipSelf } from '@angular/core';
import { CommonModule } from '@angular/common';
import { throwIfAlreadyLoaded } from './module-import-guard';
@NgModule({
imports: [
CommonModule
],
declarations: []
})
export class CoreModule {
constructor(@Optional() @SkipSelf() parentModule: CoreModule) {
throwIfAlreadyLoaded(parentModule, 'CoreModule');
}
}