Skip to content

Commit 61092fc

Browse files
thespaniard514apertureless
authored andcommitted
docs: Update README.md (#480)
* docs: Update README.md (#470) small typo / syntax error in one example ### Fix - [ x] All tests passed * docs: Update README.md (#469) changed file reference in readme.md Chart with API data describes two file Chart.vue and ChartContainer.vue, so i guess the import LineChart from './LineChart.vue' should be import LineChart from './Chart.vue' * Update README.md
1 parent 5fa95af commit 61092fc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/guide/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ export default {
344344
chartdata: {
345345
type: Object,
346346
default: null
347-
}
347+
},
348348
options: {
349349
type: Object,
350350
default: null
@@ -370,7 +370,7 @@ Then create a container component, which handles your api call or vuex connectio
370370
</template>
371371

372372
<script>
373-
import LineChart from './LineChart.vue'
373+
import LineChart from './Chart.vue'
374374
375375
export default {
376376
name: 'LineChartContainer',
@@ -445,7 +445,7 @@ import Chart from 'chart.js'
445445
// 2. Import the `generateChart()` method to create the vue component.
446446
import { generateChart } from 'vue-chartjs'
447447

448-
// 3. Extend on of the default charts
448+
// 3. Extend one of the default charts
449449
// http://www.chartjs.org/docs/latest/developers/charts.html
450450
Chart.defaults.LineWithLine = Chart.defaults.line;
451451
Chart.controllers.LineWithLine = Chart.controllers.line.extend({ /* custom magic here */})

0 commit comments

Comments
 (0)