mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 09:27: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)
|
||
|
}
|
||
|
}
|