Topic: mdb for angular - build issue using chart js - using mdb 7.1.1 pro
kaising priority asked 4 years ago
It seems there is an issue in some config files of mdb version 7.1.1.
For instance the file in ./esm5/ng-uikit-pro-standard.esm5.js makes an import of chartjs from 'chart.js' at line 12:
import * as Chart from 'chart.js';
To work, I had to modify it like this:
import * as Chart from 'chartjs';
Hope this can save times and help...
This is a very strange problem because we're not using chartjs but chart.js. So in node_modules there's no chartjs directory but chart.js directory.
Could you please check, if this problem exists on the fresh application with installed MDB Angular Pro and with charts?
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Priority
- Premium support: Yes
- Technology: MDB Angular
- MDB Version: 7.0.0
- Device: ?
- Browser: chrome
- OS: win10
- Provided sample code: No
- Provided link: No