mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-19 00:40:12 +01:00
refactor(theme): move dependencies into demo
This commit is contained in:
parent
2afb26810e
commit
b71c1190bc
13 changed files with 61 additions and 16 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue