vite icon indicating copy to clipboard operation
vite copied to clipboard

[Vue warn]: [vue-composition-api] already installed. Vue.use(VueCompositionAPI) should be called only once.

Open PMLS3 opened this issue 4 years ago • 2 comments

it says in the documentation that vue-composition api is compatible... not sure why I am getting this error.

PMLS3 avatar Mar 10 '21 14:03 PMLS3

Check out (recently merged) docs here: https://vite.nuxtjs.org/misc/common-issues#composition-api-suppport - does that help?

danielroe avatar Mar 10 '21 15:03 danielroe

I had the same problem and installing @vue/composition-api as additional dev dependency like @danielroe mentioned solved it, thank you!

itpropro avatar Mar 17 '21 19:03 itpropro