A Powerful and Highspeed Markdown Parser for Vue
npm install vue-chartvue-chart.js and vue-chart.min.js with the component exported in the window.VueChart object.
html
`
CommonJS
`js
var VueChart = require('vue-chart');
new Vue({
components: {
'vue-chart': VueChart
}
})
`
js
`js
//
new Vue({
components: {
VueChart
}
})
`
ES6
`js
import VueChart from 'vue-chart'
new Vue({
components: {
VueChart
}
})
`
Props
| Prop | Type | Default |
| ---- | ---- | ------- |
| type | String | type="line"` |