Refactor modules

This commit is contained in:
Jakub Juszczak
2016-06-26 15:34:26 +02:00
parent 14e12f761e
commit fde877e49f
7 changed files with 4 additions and 5 deletions

View File

@@ -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>

View File

@@ -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'],