portfolio/nuxt.config.ts

25 lines
550 B
TypeScript
Raw Normal View History

2023-01-28 16:16:38 +01:00
// https://v3.nuxtjs.org/api/configuration/nuxt.config
export default defineNuxtConfig({
2023-01-28 17:28:31 +01:00
modules: [
"@nuxtjs/tailwindcss",
"@vueuse/nuxt",
"nuxt-icon",
"nuxt-icons",
"@nuxtjs/robots",
2023-02-06 14:17:50 +01:00
"@nuxtjs/i18n",
2023-01-28 17:28:31 +01:00
],
2023-02-06 14:17:50 +01:00
i18n: {
baseUrl: 'https://xeovalyte.com',
locales: [
{ code: 'en', iso: 'en-US', isCatchallLocale: true },
{ code: 'nl', iso: 'nl-NL'},
],
defaultLocale: 'en',
detectBrowserLanguage: {
useCookie: true,
cookieKey: 'i18n_redirected',
redirectOn: 'root',
}
},
2023-01-28 17:28:31 +01:00
});