import { NgModule } from '@angular/core' ; import { CommonModule } from '@angular/common' ; import { RouterModule , Routes } from '@angular/router' ; import { NglAccordionModule , NglIconsModule , NglButtonsModule } from 'ng-lightning' ; import { NglDemoExampleModule } from 'src/app/example/example.module' ; import { DemoAccordionComponent } from './accordion.component' ; import { DemoAccordionBasic } from './examples/basic' ; import { DemoAccordionMultiple } from './examples/multiple' ; import { DemoAccordionHeader } from './examples/header' ; const routes = [ { path : '' , component : DemoAccordionComponent } , ] ; @ NgModule ( { imports : [ CommonModule , RouterModule . forChild ( routes ) , NglAccordionModule , NglIconsModule , NglButtonsModule , NglDemoExampleModule , ] , declarations : [ DemoAccordionComponent , DemoAccordionBasic , DemoAccordionMultiple , DemoAccordionHeader , ] , } ) export class NglDemoAccordionModule { }