Files
aranroig.com/frontend/nuxt.config.ts
BinarySandia04 09b44952df
All checks were successful
Build and Deploy Nuxt / build (push) Successful in 30s
SEO
2026-06-09 18:36:09 +02:00

46 lines
1.4 KiB
TypeScript

import { defineCollection } from "@nuxt/content";
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
compatibilityDate: '2025-07-15',
devtools: { enabled: true },
css: [
'~/assets/css/colors.scss',
'~/assets/css/fonts.scss',
'~/assets/css/main.scss'
],
runtimeConfig: {
public: {
apiBaseUrl: process.env.API_BASE_URL || 'http://localhost:5000/api'
}
},
i18n: {
locales: [
{ code: 'en', iso: 'en-US', name: '🇺🇸 English', file: 'en.json' },
{ code: 'es', iso: 'es-ES', name: '🇪🇸 Spanish', file: 'es.json' },
{ code: 'ca', iso: 'ca-ES', name: '🇦🇩 Catalan', file: 'ca.json' }
],
defaultLocale: 'en',
vueI18n: './i18n.config.ts',
langDir: 'locales/'
},
app: {
head: {
htmlAttrs: { lang: 'en' },
bodyAttrs: { class: '' },
title: 'Aran Roig — Developer, Artist & Designer',
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ name: 'description', content: 'Personal website of Aran Roig — developer, artist, and designer. Explore projects, blog posts, art gallery, and more.' },
{ name: 'author', content: 'Aran Roig' },
{ name: 'robots', content: 'index, follow' }
]
}
},
modules: ['@nuxtjs/i18n', '@nuxt/content', '@nuxt/image']
})