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