chore: format code
This commit is contained in:
@@ -1,12 +1,11 @@
|
||||
import type { SupportedLanguagesType } from '@vben-core/typings';
|
||||
|
||||
import type { Locale } from 'vue-i18n';
|
||||
|
||||
import type { ImportLocaleFn } from './typing';
|
||||
|
||||
import { unref } from 'vue';
|
||||
import { createI18n } from 'vue-i18n';
|
||||
|
||||
import type { ImportLocaleFn } from './typing';
|
||||
|
||||
const loadedLanguages = new Set<string>();
|
||||
|
||||
const i18n = createI18n({
|
||||
|
@@ -1,9 +1,9 @@
|
||||
import type { LocaleSetupOptions } from './typing';
|
||||
|
||||
import type { App } from 'vue';
|
||||
|
||||
import { i18n, loadLocaleMessages } from './i18n';
|
||||
|
||||
import type { LocaleSetupOptions } from './typing';
|
||||
|
||||
const $t = i18n.global.t;
|
||||
|
||||
async function setupI18n(app: App, options: LocaleSetupOptions = {}) {
|
||||
|
Reference in New Issue
Block a user