victorgarciaesgi / vue-chart-3

📊 A simple wrapper around Chart.js 3 for Vue 2 & 3

Home Page:https://vue-chart-3.netlify.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

ajiyudhanto opened this issue · comments

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?

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

@ajiyudhanto did you find any workaround for this?