chore: update deps
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import type { App } from 'vue'
|
||||
// import type { App } from 'vue'
|
||||
import { createI18n } from 'vue-i18n'
|
||||
import { useLocaleStoreWithOut } from '@/store/modules/locale'
|
||||
import type { I18n, I18nOptions } from 'vue-i18n'
|
||||
@@ -35,7 +35,7 @@ const createI18nOptions = async (): Promise<I18nOptions> => {
|
||||
}
|
||||
}
|
||||
|
||||
export const setupI18n = async (app: App) => {
|
||||
export const setupI18n = async (app: any) => {
|
||||
const options = await createI18nOptions()
|
||||
i18n = createI18n(options) as I18n
|
||||
app.use(i18n)
|
||||
|
||||
Reference in New Issue
Block a user