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> <template>
<div class="container"> <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> </div>
</template> </template>
<script> <script>
import TestChart from './components/TestChart' import BarExample from './examples/BarExample'
export default { export default {
components: { TestChart } components: { BarExample }
} }
</script> </script>

View File

@@ -1,5 +1,4 @@
// import BarChart from './BaseCharts/Bar' import BarChart from '../BaseCharts/Bar'
import BarChart from './BaseCharts/Line'
export default BarChart.extend({ export default BarChart.extend({
props: ['player', 'opponent'], props: ['player', 'opponent'],