victorgarciaesgi / vue-chart-3

📊 A simple wrapper around Chart.js 3 for Vue 2 & 3
https://vue-chart-3.netlify.app/
MIT License
310 stars 112 forks source link

[vue-composition-api] must call Vue.use(VueCompositionAPI) before using any function #127

Open ajiyudhanto opened 2 years ago

ajiyudhanto commented 2 years ago

Hi guys, apparently I have an issue regarding vue-chart-3. I keep getting "[vue-composition-api] must call Vue.use(VueCompositionAPI) before using any function" error when I try to implement unit test for my project. Im using nuxtjs and use @nuxt/composition-api.

Screenshot 2022-05-23 134847

what should I do?

toniengelhardt commented 2 years ago

Have the same issue. This happens with Nuxt Bridge where composition API should be registered by default.

toniengelhardt commented 2 years ago

@ajiyudhanto did you find any workaround for this?