export default defineNuxtConfig({
  sourcemap: true,
  modules: [
    '@nuxt/ui-pro',
    '@nuxt/eslint',
    '@pinia/nuxt',
    '@nuxtjs/i18n'
  ],
  css: ['~/assets/css/main.css'],
  runtimeConfig: {
    public: {
      clientProxyBasePath: 'NOT_SET',
      serverApiBaseUrl: 'NOT_SET',
      serverApiBasePath: 'NOT_SET',
      auth: {
        redirectUserTo: '/',
        redirectGuestTo: '/login'
      }
    }
  },
  components: [
    {
      path: '~/components',
      pathPrefix: false
    }
  ],
  i18n: {
    defaultLocale: 'de',
    locales: [
      { code: 'en', name: 'English', file: 'en.json' },
      { code: 'de', name: 'Deutsch', file: 'de.json' }
    ]
  },
  // typescript: {
  //   typeCheck: true
  // },
  devtools: { enabled: true },
  compatibilityDate: '2024-11-01'
})
