2024-08-14 05:29:31 +08:00
|
|
|
import { i18n, loadLocaleMessages, loadLocalesMap, setupI18n } from './i18n';
|
2024-07-07 00:17:44 +08:00
|
|
|
|
|
|
|
const $t = i18n.global.t;
|
|
|
|
|
2024-07-07 02:00:51 +08:00
|
|
|
export { $t, i18n, loadLocaleMessages, loadLocalesMap, setupI18n };
|
2024-08-14 05:29:31 +08:00
|
|
|
export {
|
|
|
|
type ImportLocaleFn,
|
|
|
|
type LocaleSetupOptions,
|
|
|
|
type SupportedLanguagesType,
|
|
|
|
} from './typing';
|
2024-07-10 21:40:29 +08:00
|
|
|
export type { CompileError } from '@intlify/core-base';
|
2024-08-14 05:29:31 +08:00
|
|
|
|
2024-07-07 00:17:44 +08:00
|
|
|
export { useI18n } from 'vue-i18n';
|
2024-08-14 05:29:31 +08:00
|
|
|
|
2024-07-10 21:40:29 +08:00
|
|
|
export type { Locale } from 'vue-i18n';
|