Any component can extend another one.

This allows to reuse functionality very easily, and it’s very common when working with libraries.

You import the component you want to extend, and you use the extends property of your component to use the other one as a base:

  import { Bar } from 'vue-chartjs'
  export default {
    extends: Bar

Go to the next module