// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
    modules: ["@nuxt/a11y", "@nuxt/ui", "@nuxtjs/i18n", "@nuxt/image"],
    i18n: {
        defaultLocale: "en",
        strategy: "prefix_and_default",
        locales: [
            { code: "en", name: "English", file: "en.json" },
            { code: "sk", name: "Slovensky", file: "sk.json" },
            { code: "de", name: "Deutsch", file: "de.json" },
        ],
    },
    app: {
        head: {
            charset: "utf-8",
        },
    },
    routeRules: {
        "/": { prerender: true },
    },
    fonts: {
        families: [{ name: "JetBrains Mono", provider: "local" }],
    },
    css: ["~/assets/global.css"],
    compatibilityDate: "2025-07-15",
    devtools: { enabled: true },
    nitro: {
        preset: "bun",
    },
    ssr: true,
});
