diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md index 7c694ac867b..5e5a9e184db 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -16,6 +16,7 @@ - `n-progress`'s `color` prop supports gradient config. - `n-select` adds `font-weight` theme variable - `n-input` adds `font-weight` theme variable +- Add posibility to import `useLocale` mixin ## 2.40.1 diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md index 06e42e84b73..5e769bb2b89 100644 --- a/CHANGELOG.zh-CN.md +++ b/CHANGELOG.zh-CN.md @@ -16,6 +16,7 @@ - `n-progress` 的 `color` 属性支持渐变色配置 - `n-select` 新增 `font-weight` 主题变量 - `n-input` 新增 `font-weight` 主题变量 +- Add posibility to import `useLocale` mixin ## 2.40.1 diff --git a/src/locales/index.ts b/src/locales/index.ts index 02a6059ffda..a806568b900 100644 --- a/src/locales/index.ts +++ b/src/locales/index.ts @@ -60,3 +60,4 @@ export type { NLocale } from './common/enUS' export type { NDateLocale } from './date/enUS' export type { NPartialLocale } from './utils/index' export { createLocale } from './utils/index' +export { useLocale } from '../_mixins/index'