From 5b16f20725f11546e153d5cc052fe1f8a5c1c9d2 Mon Sep 17 00:00:00 2001 From: msidolphin Date: Sat, 24 Jul 2021 00:47:20 +0800 Subject: [PATCH] fix: missing install & locale issue (#2647) --- packages/element-plus/index.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/packages/element-plus/index.ts b/packages/element-plus/index.ts index 42eec0557c..ef12500c2f 100644 --- a/packages/element-plus/index.ts +++ b/packages/element-plus/index.ts @@ -55,9 +55,16 @@ const install = (app: App, opt: InstallOptions): void => { }) } -export { version } +const locale = setLocale + +export { + version, + install, + locale, +} export default { version, install, + locale, }