dumptyd / vue-css-donut-chart

Lightweight Vue component for drawing pure CSS donut charts
https://dumptyd.github.io/vue-css-donut-chart/
MIT License
130 stars 19 forks source link

can we use this library by directly importing in the component #67

Closed roshan2921 closed 1 year ago

roshan2921 commented 1 year ago

I want to use this package after installing by directly importing into my component

roshan2921 commented 1 year ago

@dumptyd @frados @christikaes

dumptyd commented 1 year ago

@roshan2921 Yes you can. This should help you https://github.com/dumptyd/vue-css-donut-chart/issues/18#issuecomment-549539239.

import Donut from 'vue-css-donut-chart/src/components/Donut.vue';