1
0
mirror of https://github.com/elk-zone/elk synced 2024-11-23 22:56:09 +09:00

refactor: move shared config into ~/config/

This commit is contained in:
Daniel Roe 2022-12-06 21:04:38 +00:00
parent 7a07d21b76
commit 83d313c47b
No known key found for this signature in database
GPG Key ID: 22D5008E4F5D9B55
2 changed files with 2 additions and 5 deletions

View File

@ -49,7 +49,7 @@ const datetimeFormats = Object.keys(locales).reduce((acc, key) => {
return acc
}, <DateTimeFormats>{})
const i18n: NuxtI18nOptions = {
export const i18n: NuxtI18nOptions = {
locales,
strategy: 'no_prefix',
detectBrowserLanguage: false,
@ -62,7 +62,4 @@ const i18n: NuxtI18nOptions = {
datetimeFormats,
},
lazy: true,
}
export { i18n }

View File

@ -1,6 +1,6 @@
import Inspect from 'vite-plugin-inspect'
import { isCI, isDevelopment } from 'std-env'
import { i18n } from './modules/i18n-configuration'
import { i18n } from './config/i18n'
export default defineNuxtConfig({
ssr: false,