t3-code-android-nightly/.repos/alchemy-effect/examples/hetzner-website-nuxt/nuxt.config.ts

19 lines
683 B
TypeScript

import tailwindcss from "@tailwindcss/vite";
import { defineNuxtConfig } from "nuxt/config";
// The project's own nuxt.config.ts loads natively — Alchemy only overlays
// what the AWS deploy needs (nitro's aws-lambda preset).
// Do NOT set `nitro.preset` here; the deploy target owns it.
export default defineNuxtConfig({
compatibilityDate: "2026-07-01",
telemetry: { enabled: false },
// Tailwind CSS v4 wired through this config — proof the project's own
// nuxt.config.ts (vite plugins included) is loaded by the Alchemy build.
css: ["~/assets/css/main.css"],
vite: {
plugins: [tailwindcss()],
},
routeRules: {
"/about": { prerender: true },
},
});