Code: Select all
'use strict';
module.exports = require('./components/columngroup/ColumGroup');
Code: Select all
'use strict';
module.exports = require('./components/column/Column');
Code: Select all
'use strict';
module.exports = require('./components/column/ColumnGroup');
Code: Select all
'use strict';
module.exports = require('./components/columngroup/ColumnGroup');
Also in primereact/components/chart/chart.js - Module not found: Can't resolve 'chart.js/src/chart.js'
Code: Select all
var _chart = require('chart.js/src/chart.js');
Also in the chart.js file above I am getting an error
Code: Select all
key: 'componentWillUnmount',
value: function componentWillUnmount() {
if (this.chart) {
//this.chart.destroy();
this.chart = null;
}
}
If I make all of the above changes I can compile and run my app but no chart will load, even when using the example from the line chart page?
Any ideas?
cheers
craig