echarts-vue-components
v1.0.0
Published
A few simple chart components based on Echarts and Vue
Downloads
5
Readme
A few simple chart components based Echarts and Vue
Usage
Install
npm install echarts-vue-components
Global register for all
import Vue from 'vue'
import echartsComps from 'echarts-vue-components'
Vue.use(echartsComponents)
Local register in a component
import { GridChart, PieChart } from 'echarts-vue-components'
export default {
components: {
GridChart,
PieChart
}
}
Using in template
<template>
<div>
<grid-chart />
<pie-chart />
</div>
</template>