解决项目运行报“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';
人生如逆旅
我亦是行人