// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
  compatibilityDate: '2025-07-15',
  devtools: { enabled: true },
  runtimeConfig: {
    quibotBaseUrl: process.env.QUIBOT_BASE_URL || 'http://quibot:8000',
    quibotToken: process.env.QUIBOT_TOKEN || 'MY_SECRET_TOKEN',
    public: {
      defaultLocale: 'en',
      supportedLocales: ['en', 'ca', 'es'],
    }
  },
  vite: {
    optimizeDeps: {
      include: [
        '@vue/devtools-core',
        '@vue/devtools-kit',
      ]
    }
  }
})
