We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b40fae commit d6a5a31Copy full SHA for d6a5a31
src/plugins/vuetify.js
@@ -17,7 +17,7 @@ import { createI18n, useI18n } from 'vue-i18n'
17
// import all files from src/i18n
18
const messages = Object.fromEntries(
19
Object.entries(
20
- import.meta.globEager('../i18n/*.js')
+ import.meta.glob('../i18n/*.js', { eager: true })
21
).map(([key, value]) => {
22
const locale = key.match(/([A-Za-z0-9-_]+)\./i)[1]
23
return [locale, value.default]
0 commit comments