[Chartjs]-"TypeError: chart_js__WEBPACK_IMPORTED_MODULE_9__.default is not a constructor"

2👍

According to the official docs in this section you could do:

And finally there is an separate path to do just the above for you, in one line:
import Chart from 'chart.js/auto'

Leave a comment