Skip to content

Commit 6732907

Browse files
committed
Merged branch master into develop
2 parents 1d6e375 + d2f2315 commit 6732907

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ You can overwrite the default chart options. Just pass the options object as a s
6868
import { Line } from 'vue-chartjs'
6969

7070
export default Line.extend({
71-
props: [data, options],
71+
props: ["data", "options"],
7272
mounted () {
7373
this.renderChart(this.data, this.options)
7474
}
@@ -107,8 +107,8 @@ The mixins automatically create `chartData` as a prop or data. And add a watcher
107107
import { Line, reactiveProp } from 'vue-chartjs'
108108

109109
export default Line.extend({
110-
mixins: [reactiveProp]
111-
props: [chartData, options],
110+
mixins: [reactiveProp],
111+
props: ["chartData", "options"],
112112
mounted () {
113113
this.renderChart(this.chartData, this.options)
114114
}

0 commit comments

Comments
 (0)