dumptyd / vue-css-donut-chart

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

Vue 3 usage #44

Closed dhanielcodes closed 2 years ago

dhanielcodes commented 3 years ago

I tried using your package with vue 3, but it doesn't work properly How do I set it up for vue 3

This is my code buh didn't work

import { createApp } from 'vue'
import App from './App.vue'
import Donut from 'vue-css-donut-chart';
import 'vue-css-donut-chart/dist/vcdonut.css';

const app = createApp(App)
app.use(Donut)
app.mount('#app')
narekkay commented 3 years ago

Did you find any solution?

dhanielcodes commented 3 years ago

Nope, I had to switch to Apex charts, they had for vue 3

narekkay commented 3 years ago

Yes! I can confirm, Apex Charts works on Vue 3 👍

dhanielcodes commented 3 years ago

👍

pixelpep commented 2 years ago

Still not in vue3?

narekkay commented 2 years ago

Didn't test Idk😬 Haven't seen any update on their git / npm repo so it's most likely that it still doesn't work...

dumptyd commented 2 years ago

Soon

On a serious note, I am running into some issues with porting the tests, but I will try to get a version out for Vue 3 within next couple of weeks.

dumptyd commented 2 years ago

This should be working now.