mirror of
https://github.com/ConnectedHumber/Air-Quality-Web
synced 2024-12-21 10:25:00 +00:00
Fix chart.js import error
This commit is contained in:
parent
25be40c76b
commit
fc95cb6cc7
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ import CreateElement from '../../node_modules/dom-create-element-query-selector/
|
|||
import moment from 'moment';
|
||||
// import Chart from 'chart.js';
|
||||
// Chart.js pollutes the global scope, but the main entry point is going to change soon in v2.8 - which should fix our issue here
|
||||
import Chart from '../../node_modules/chart.js/dist/Chart.bundle.min.js';
|
||||
import Chart from '../../node_modules/chart.js/dist/chart.esm.js';
|
||||
|
||||
import Config from './Config.mjs';
|
||||
|
||||
|
|
Loading…
Reference in a new issue