Refactor basic structure

This commit is contained in:
Jakub Juszczak
2016-07-03 12:36:38 +02:00
parent a428b51741
commit 3095684a37
19 changed files with 17 additions and 17 deletions

View File

@@ -72,27 +72,27 @@ export default {
### Bar Chart
![Bar](src/assets/bar.png)
![Bar](assets/bar.png)
### Line Chart
![Line](src/assets/line.png)
![Line](assets/line.png)
### Doughnut
![Doughnut](src/assets/doughnut.png)
![Doughnut](assets/doughnut.png)
### Pie
![Pie](src/assets/pie.png)
![Pie](assets/pie.png)
### Radar
![Pie](src/assets/radar.png)
![Pie](assets/radar.png)
### Polar Area
![Pie](src/assets/polar.png)
![Pie](assets/polar.png)
## Todo

View File

Before

Width:  |  Height:  |  Size: 70 KiB

After

Width:  |  Height:  |  Size: 70 KiB

View File

Before

Width:  |  Height:  |  Size: 78 KiB

After

Width:  |  Height:  |  Size: 78 KiB

View File

Before

Width:  |  Height:  |  Size: 76 KiB

After

Width:  |  Height:  |  Size: 76 KiB

View File

Before

Width:  |  Height:  |  Size: 6.7 KiB

After

Width:  |  Height:  |  Size: 6.7 KiB

View File

Before

Width:  |  Height:  |  Size: 60 KiB

After

Width:  |  Height:  |  Size: 60 KiB

View File

Before

Width:  |  Height:  |  Size: 140 KiB

After

Width:  |  Height:  |  Size: 140 KiB

View File

Before

Width:  |  Height:  |  Size: 148 KiB

After

Width:  |  Height:  |  Size: 148 KiB

View File

@@ -5,7 +5,7 @@ var projectRoot = path.resolve(__dirname, '../')
module.exports = {
entry: {
app: './src/main.js'
app: './src/index.js'
},
output: {
path: config.build.assetsRoot,
@@ -17,8 +17,6 @@ module.exports = {
fallback: [path.join(__dirname, '../node_modules')],
alias: {
'src': path.resolve(__dirname, '../src'),
'assets': path.resolve(__dirname, '../src/assets'),
'components': path.resolve(__dirname, '../src/components'),
'BaseCharts': path.resolve(__dirname, '../src/BaseCharts')
}
},

View File

@@ -3,6 +3,16 @@
"version": "1.0.0",
"description": "Vue wrapper for chart.js",
"author": "Jakub Juszczak <jakub@nextindex.de>",
"repository": {
"type": "git",
"url": "git+ssh://git@github.com:apertureless/vue-chartjs.git"
},
"keywords": [
"ChartJs",
"Vue",
"Visualisation",
"Wrapper"
],
"private": true,
"main": "src/index.js",
"scripts": {

View File

@@ -1,8 +0,0 @@
import Vue from 'vue'
import App from './App'
/* eslint-disable no-new */
new Vue({
el: 'body',
components: { App }
})

View File