vutran6853 / vue3-chart-v2

vue3-chart-v2 is a wrapper for Chart.js in vue 3. You can easily create reuseable chart components. Inspired by vue-chartjs
https://vue3-chart-v2.netlify.app/
38 stars 30 forks source link

use render function instead of jsx #18

Open garstikaitis opened 2 years ago

garstikaitis commented 2 years ago

Hi,

When using this package with Vite, by default it renders BaseChart.tsx component, and it uses JSX to render component. I was not able to get it to compile with Vite, using regular render function as in BaseChart.vue seems to solve the issue.

Let me know if this breaks anything else.