For instance, I have integrated vue-charts.js by importing it into my main component:
import VueChartjs from 'vue-chartjs';
Vue.component('bar-chart', {
extends: VueChartjs.HorizontalBar,
...
})
Since VueChartjs
is a wrapper for Charts.js
, the component has its own default template. I want to customize this template either within VueChartjs.HorizontalBar
or the mounted component bar-chart
.
Is there a way to achieve this customization within the main root component?