renderer: use named import for util class
This commit is contained in:
1 parent
ce22d55026
commit
b8f0700e0d
3 files changed
+6
-4
No files matched your search
@@ -1,11 +1,11 @@
|
||||
import { createI18n } from 'vue-i18n'
|
||||
import en from '@/renderer/locales/en.json'
|
||||
import ko from '@/renderer/locales/ko.json'
|
||||
import Utils from '@/renderer/utils'
|
||||
import { getCurrentLocale } from '@/renderer/utils'
|
||||
|
||||
export default createI18n({
|
||||
legacy: false,
|
||||
locale: Utils.getCurrentLocale(),
|
||||
locale: getCurrentLocale(),
|
||||
fallbackLocale: 'en',
|
||||
globalInjection: true,
|
||||
messages: {
|
||||
|
||||
Reference in new issue
Block a user