mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-23 19:00:13 +01:00
feat(aot): aot compilation work in progress
This commit is contained in:
parent
24fe588b42
commit
d89d176e54
117 changed files with 866 additions and 1041 deletions
|
|
@ -1,13 +1,14 @@
|
|||
import {Component, ViewEncapsulation, ElementRef} from '@angular/core';
|
||||
|
||||
import {Chart} from './trafficChart.loader.ts';
|
||||
import './trafficChart.loader.ts';
|
||||
import {TrafficChartService} from './trafficChart.service';
|
||||
import * as Chart from 'chart.js';
|
||||
|
||||
@Component({
|
||||
selector: 'traffic-chart',
|
||||
encapsulation: ViewEncapsulation.None,
|
||||
styles: [require('./trafficChart.scss')],
|
||||
template: require('./trafficChart.html')
|
||||
// encapsulation: ViewEncapsulation.None,
|
||||
styleUrls: ['./trafficChart.scss'],
|
||||
templateUrl: './trafficChart.html'
|
||||
})
|
||||
|
||||
// TODO: move chart.js to it's own component
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue