Why does nuxt give me this error with vue-chartjs?
5
3
I get this error while trying to make vue-chartjs work WARN in ./node_modules/vue-chartjs/es/BaseCharts.js "export 'default' (imported as 'Chart') was not found in 'chart.js' And also this in devtools: TypeError: chart_js__WEBPACK_IMPORTED_MODULE_0__.default is not a constructor Steps to recreate: Create nuxt app with: $ yarn create nuxt-app <project_name> Add vue-chartjs with $ yarn add vue-chartjs chart.js Add following code which should work according to vue-chartjs docs ~/components/BarChart.js import { Bar } from 'vue-chartjs' export default { extends: Bar, props: ['data', 'options'], mounted() { this.renderChart(this.data, this.options) }, } ~/pages/index.vue <template...