How to use CoreUI with Vue 3

I’m trying to use Vue 3 using CoreUI.


I’m getting this error:
TS2345: Argument of type ‘CoreuiVuePlugin’ is not assignable to parameter of type ‘Plugin_2’.
Type ‘CoreuiVuePlugin’ is not assignable to type ‘{ install: PluginInstallFunction; }’.
Types of property ‘install’ are incompatible.
Type ‘PluginFunction’ is not assignable to type ‘PluginInstallFunction’.
Types of parameters ‘Vue’ and ‘app’ are incompatible.
Type ‘App’ is missing the following properties from type ‘VueConstructor’: extend, nextTick, set, delete, and 3 more.
4 |
5 | createApp(App)

6 | .use(CoreuiVue)
| ^^^^^^^^^
7 | .mount(’#app’);
8 |

How to properly import CoreUI with Vue 3?

Thank you

1 Like

At this moment it’s not possible. We’re going to release version for Vue 3 soon