chore: update nuxt to 3.10.3 (#2610)
This commit is contained in:
parent
1fefb6e5b6
commit
55037f04cd
53 changed files with 3584 additions and 3766 deletions
20
config/i18n.config.ts
Normal file
20
config/i18n.config.ts
Normal file
|
@ -0,0 +1,20 @@
|
|||
import {
|
||||
currentLocales,
|
||||
datetimeFormats,
|
||||
numberFormats,
|
||||
pluralRules,
|
||||
} from './i18n'
|
||||
|
||||
export default defineI18nConfig(() => {
|
||||
return {
|
||||
legacy: false,
|
||||
availableLocales: currentLocales.map(l => l.code),
|
||||
fallbackLocale: 'en-US',
|
||||
fallbackWarn: true,
|
||||
missingWarn: true,
|
||||
datetimeFormats,
|
||||
numberFormats,
|
||||
// eslint-disable-next-line @typescript-eslint/comma-dangle
|
||||
pluralRules
|
||||
}
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue