diff --git a/nuxt.config.ts b/nuxt.config.ts index a26f564..16c4a96 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -1,6 +1,19 @@ -// https://nuxt.com/docs/api/configuration/nuxt-config +// nuxt.config.ts export default defineNuxtConfig({ compatibilityDate: '2025-05-15', devtools: { enabled: true }, - modules: ['@nuxt/eslint', '@nuxt/image'] -}) \ No newline at end of file + modules: ['@nuxt/eslint', '@nuxt/image'], + + // WICHTIG für SSG: + nitro: { + preset: 'vercel' // Optional, optimiert Build für Vercel + }, + + ssr: true, // Standard: SSR enabled (für SSG ok) + target: 'static', // Früher relevant, heute optional, sorgt für statische Generierung + + // Optional: Export-Optionen für generate + generate: { + // routes: [...] // Falls du manuell zusätzliche Routen definieren willst + } +})