mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-12 07:17:13 +00:00
10 lines
166 B
JavaScript
10 lines
166 B
JavaScript
|
import { Line } from 'vue-chartjs'
|
||
|
|
||
|
export default {
|
||
|
extends: Line,
|
||
|
props: ['data', 'options'],
|
||
|
mounted() {
|
||
|
this.renderChart(this.data, this.options)
|
||
|
}
|
||
|
}
|