refactor(theme): move dependencies into demo

This commit is contained in:
Dmitry Nehaychik 2017-06-13 20:40:08 +03:00
parent 2afb26810e
commit b71c1190bc
13 changed files with 61 additions and 16 deletions

View file

@ -1,5 +1,4 @@
import { NgModule } from '@angular/core';
import { NgaChartsModule } from '@nga/theme';
import { SharedModule } from '../../shared.module';
@ -13,6 +12,9 @@ import { D3PieComponent } from './d3/pie/pie.component';
import { EchartsLineComponent } from './echarts/line/line.component';
import { EchartsPieComponent } from './echarts/pie/pie.component';
import { EchartsBarComponent } from './echarts/bar/bar.component';
import { AngularEchartsModule } from 'angular2-echarts';
import { NgxChartsModule } from '@swimlane/ngx-charts';
import { ChartsModule as Ng2Charts } from 'ng2-charts/ng2-charts';
const components = [
ChartJsBarComponent,
@ -29,8 +31,10 @@ const components = [
@NgModule({
imports: [
SharedModule,
NgaChartsModule,
ChartsRoutingModule,
AngularEchartsModule,
NgxChartsModule,
Ng2Charts,
],
declarations: [
...routedComponents,