mirror of
https://github.com/KevinMidboe/vue-chartjs.git
synced 2025-10-29 18:00:20 +00:00
Add index file for npm package
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
"description": "Vue wrapper for chart.js",
|
"description": "Vue wrapper for chart.js",
|
||||||
"author": "Jakub Juszczak <jakub@nextindex.de>",
|
"author": "Jakub Juszczak <jakub@nextindex.de>",
|
||||||
"private": true,
|
"private": true,
|
||||||
|
"main": "src/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "node build/dev-server.js",
|
"dev": "node build/dev-server.js",
|
||||||
"build": "node build/build.js",
|
"build": "node build/build.js",
|
||||||
|
|||||||
17
src/index.js
Normal file
17
src/index.js
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
import Bar from './BaseCharts/Bar'
|
||||||
|
import Doughnut from './BaseCharts/Doughnut'
|
||||||
|
import Line from './BaseCharts/Line'
|
||||||
|
import Pie from './BaseCharts/Pie'
|
||||||
|
import PolarArea from './BaseCharts/PolarArea'
|
||||||
|
import Radar from './BaseCharts/Radar'
|
||||||
|
|
||||||
|
const VueCharts = {
|
||||||
|
Bar,
|
||||||
|
Doughnut,
|
||||||
|
Line,
|
||||||
|
Pie,
|
||||||
|
PolarArea,
|
||||||
|
Radar
|
||||||
|
}
|
||||||
|
|
||||||
|
module.exports = VueCharts
|
||||||
Reference in New Issue
Block a user