export default defineNuxtConfig({ modules: [ '@nuxt/ui', '@nuxtjs/mdc', '@nuxt/content', '@nuxthub/core', '@nuxt/eslint', '@vueuse/nuxt', '@nuxtjs/i18n', 'nuxt-studio' ], devtools: { enabled: true }, app: { pageTransition: { name: 'page', mode: 'out-in' }, head: { templateParams: { separator: '•' } }, rootAttrs: { class: 'bg-[var(--ui-bg)]' } }, css: ['~/assets/css/main.css'], colorMode: { preference: 'system', fallback: 'light' }, mdc: { headings: { anchorLinks: false } }, ui: { theme: { colors: [ 'white', 'black', 'cyan', 'gray', 'zinc', 'red', 'orange', 'amber', 'green', 'emerald', 'sky', 'blue', 'purple', 'pink', 'neutral' ] } }, runtimeConfig: { api: { url: '' }, public: { i18n: { baseUrl: '' } } }, routeRules: { '/api/activity': { proxy: `${process.env.NUXT_API_URL}/api/activity` }, '/api/stats': { proxy: `${process.env.NUXT_API_URL}/api/stats` }, '/api/uses': { proxy: `${process.env.NUXT_API_URL}/api/uses` }, '/api/': { proxy: `${process.env.NUXT_API_URL}/api/` } }, experimental: { viewTransition: true }, compatibilityDate: '2025-12-13', nitro: { preset: 'cloudflare_pages', prerender: { routes: ['/'], crawlLinks: true } }, hub: { cache: true, db: 'sqlite' }, eslint: { config: { stylistic: { quotes: 'single', commaDangle: 'never' } } }, i18n: { strategy: 'no_prefix', locales: [ { label: 'English', code: 'en', language: 'en-EN', icon: 'i-twemoji-flag-united-kingdom' }, { label: 'Français', code: 'fr', language: 'fr-FR', icon: 'i-twemoji-flag-france' }, { label: 'Español', code: 'es', language: 'es-ES', icon: 'i-twemoji-flag-spain' } ], defaultLocale: 'en' }, studio: { route: '/studio', repository: { provider: 'github', owner: 'ArthurDanjou', repo: 'artsite', branch: 'master' } } })