mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-05 21:53:56 +00:00
c4c63e0c66
* chore(dependencies): Update vue-chartjs and chartjs to latest version * refactor(examples): Update component creation of charts
10 lines
174 B
JavaScript
10 lines
174 B
JavaScript
import { Doughnut } from 'vue-chartjs'
|
|
|
|
export default {
|
|
extends: Doughnut,
|
|
props: ['data', 'options'],
|
|
mounted() {
|
|
this.renderChart(this.data, this.options)
|
|
}
|
|
}
|