From 7fd83f8fa1f2b5896dd84c403e5be4db442cd006 Mon Sep 17 00:00:00 2001 From: Amadeusz Annissimo Date: Thu, 11 Oct 2018 03:42:23 -0400 Subject: [PATCH] docs: Fix code example in the docs (#422) ### Fix or Enhancement? documentation fix --- docs/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/README.md b/docs/README.md index ff10f386..ab3aff1e 100644 --- a/docs/README.md +++ b/docs/README.md @@ -86,10 +86,10 @@ import { Line } from 'vue-chartjs' export default { extends: Line, - props: ['datasets', 'options'] + props: ['datasets', 'options'], data: () => ({ htmlLegend: null - }) + }), mounted () { this.renderChart(this.datasets, this.options) this.htmlLegend = this.generateLegend()