import { ObserversModule } from '@angular/cdk/observers' ; import { CommonModule } from '@angular/common' ; import { NgModule } from '@angular/core' ; import { RouterModule } from '@angular/router' ; import { DelonLocaleModule } from '@delon/theme' ; import { NzButtonModule } from 'ng-zorro-antd/button' ; import { ExceptionComponent } from './exception.component' ; const COMPONENTS = [ ExceptionComponent ] ; @ NgModule ( { imports : [ CommonModule , ObserversModule , RouterModule , DelonLocaleModule , NzButtonModule ] , declarations : COMPONENTS , exports : COMPONENTS } ) export class ExceptionModule { }