mirror of
https://github.com/KevinMidboe/vue-chartjs.git
synced 2025-10-29 18:00:20 +00:00
Refactor modules
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
<template>
|
||||
<div class="container">
|
||||
<test-chart :width="100" :height="200" :player={wins:'12'} :opponent={wins:'23'}></test-chart>
|
||||
<bar-example :width="100" :height="200" :player={wins:'12'} :opponent={wins:'23'}></bar-example>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import TestChart from './components/TestChart'
|
||||
import BarExample from './examples/BarExample'
|
||||
|
||||
export default {
|
||||
components: { TestChart }
|
||||
components: { BarExample }
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
// import BarChart from './BaseCharts/Bar'
|
||||
import BarChart from './BaseCharts/Line'
|
||||
import BarChart from '../BaseCharts/Bar'
|
||||
|
||||
export default BarChart.extend({
|
||||
props: ['player', 'opponent'],
|
||||
Reference in New Issue
Block a user