Vuejs2 如何将elemen ui(现在称为elemen plus)添加到Vue3项目?

Vuejs2 如何将elemen ui(现在称为elemen plus)添加到Vue3项目?,vuejs2,element-ui,vuejs3,Vuejs2,Element Ui,Vuejs3,我一直在使用“element ui”,现在开始使用Vue3的新版本。 似乎他们发布了一个名为“element plus”的新版本,但教程没有更新 import Vue from 'vue'; // not working in Vue3 import ElementUI from 'element-plus'; import 'element-ui/lib/theme-chalk/index.css'; ... Vue.use(ElementUI); // no "Vue&quo

我一直在使用“element ui”,现在开始使用Vue3的新版本。 似乎他们发布了一个名为“element plus”的新版本,但教程没有更新

import Vue from 'vue';  // not working in Vue3
import ElementUI from 'element-plus';
import 'element-ui/lib/theme-chalk/index.css';
...

Vue.use(ElementUI);  // no "Vue" in Vue3 anymore
...
createApp(App).mount('#app') // the new project creation


有人成功地做到了这一点吗?

请查看vue3迁移指南:它就是不起作用。。。对不起,你试了什么<代码>常量应用程序=创建应用程序(应用程序);app.use(ElementUI)?我也有同样的问题@AngularOne你成功地让它工作了吗?请看一下vue3迁移指南:它就是不工作。。。对不起,你试了什么<代码>常量应用程序=创建应用程序(应用程序);app.use(ElementUI)?我也有同样的问题@安格拉龙你成功了吗?