mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-18 08:20:13 +01:00
chore: base layout
This commit is contained in:
parent
1fb884a633
commit
d82d691681
19 changed files with 195 additions and 44 deletions
16
src/app/@core/core.module.ts
Normal file
16
src/app/@core/core.module.ts
Normal 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');
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue