vue项目引入elementui-plus运行npm run serve出现如下图错误:
WARNING Compiled with 2 warnings 下午3:55:02
warning in ./src/App.vue?vue&type=template&id=7ba5bd90
"export ‘createElementBlock’ (imported as ‘_createElementBlock’) was not found in ‘vue’
warning in ./src/App.vue?vue&type=template&id=7ba5bd90
"export ‘createElementVNode’ (imported as ‘_createElementVNode’) was not found in ‘vue’
解决办法:升级vue 到最新版本 执行 npm install vue@3.2.4 --force
运行后错误消失: