效果图
一、下载依赖
npm install element-plus --save
二、引入方式
import ElementPlus from "element-plus"
import 'element-plus/dist/index.css'
createApp(App).use(store).use(router).use(ElementPlus).mount("#app");
完美解决报错
npm install element-plus --save
import ElementPlus from "element-plus"
import 'element-plus/dist/index.css'
createApp(App).use(store).use(router).use(ElementPlus).mount("#app");
完美解决报错