mirror of
https://github.com/ArthurDanjou/website-old.git
synced 2026-02-03 05:37:54 +01:00
Import nuxt 3 and edit to script setup
This commit is contained in:
24
settings/I18nConfig.ts
Normal file
24
settings/I18nConfig.ts
Normal file
@@ -0,0 +1,24 @@
|
||||
export default {
|
||||
locales: [
|
||||
{
|
||||
code: 'en',
|
||||
name: 'English',
|
||||
iso: 'en-EN',
|
||||
file: 'en-EN.ts',
|
||||
},
|
||||
{
|
||||
code: 'fr',
|
||||
name: 'Français',
|
||||
iso: 'fr-FR',
|
||||
file: 'fr-FR.ts'
|
||||
},
|
||||
],
|
||||
strategy: 'no_prefix',
|
||||
defaultLocale: 'en',
|
||||
langDir: 'locales/',
|
||||
lazy: true,
|
||||
seo: true,
|
||||
vueI18n: {
|
||||
fallbackLocale: 'en',
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user