element+ 引入图标报错 Failed to resolve import “@element-plus/icons-vue“ from “
vue3.0中Element+的使用
·
element+ 引入图标报错
Internal server error: Failed to resolve import "@element-plus/icons-vue" from "src\components\TimeLine.vue". Does the file exist?
原因:element-plus需要单独引入 icons 文档
pnpm install @element-plus/icons-vue
之后就可以正常使用了
更多推荐
所有评论(0)