解决项目运行报“No known conditions for "./lib/locale/lang/en" specifier in "element-plus" package”问题

 解决办法

将以下三行代码中的lib换成es

import enLocale from 'element-plus/lib/locale/lang/en';
import zhcnLocale from 'element-plus/lib/locale/lang/zh-cn';
import zhtwLocale from 'element-plus/lib/locale/lang/zh-tw';

 

 

posted @ 2024-11-21 18:32  相遇就是有缘  阅读(5)  评论(0编辑  收藏  举报