import { NgModule } from '@angular/core' ; import { CommonModule } from '@angular/common' ; import { ReactiveFormsModule , FormsModule } from '@angular/forms' ; import { RouterModule } from '@angular/router' ; import { AlainThemeModule } from '@delon/theme' ; import { SHARED_DELON_MODULES } from './shared-delon.module' ; import { SHARED_ZORRO_MODULES } from './shared-zorro.module' ; const COMPONENTS = [ ] ; const DIRECTIVES = [ ] ; @ NgModule ( { imports : [ CommonModule , FormsModule , RouterModule , ReactiveFormsModule , AlainThemeModule . forChild ( ) , ... SHARED_DELON_MODULES , ... SHARED_ZORRO_MODULES , ] , declarations : [ ... COMPONENTS , ... DIRECTIVES , ] , exports : [ CommonModule , FormsModule , ReactiveFormsModule , RouterModule , AlainThemeModule , ... SHARED_DELON_MODULES , ... SHARED_ZORRO_MODULES , ... COMPONENTS , ... DIRECTIVES , ] , } ) export class SharedModule { }