We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc98d6e commit 00a40a4Copy full SHA for 00a40a4
src/index.js
@@ -18,12 +18,12 @@ export {
18
19
const CoreuiVueCharts = {
20
install (Vue) {
21
- for (let component in [
22
- CChartBar, CChartLine, CChartDoughnut,
23
- CChartRadar, CChartPie,CChartPolarArea
24
- ]) {
25
- Vue.component(component, component)
26
- }
+ Vue.component('CChartBar', CChartBar)
+ Vue.component('CChartLine', CChartLine)
+ Vue.component('CChartDoughnut', CChartDoughnut)
+ Vue.component('CChartRadar', CChartRadar)
+ Vue.component('CChartPie', CChartPie)
+ Vue.component('CChartPolarArea', CChartPolarArea)
27
}
28
29
0 commit comments