t3-code-android-nightly/.repos/alchemy-effect/examples/cloudflare-website-nuxt/nuxt.config.ts
Julius Marminge e3c85ead63
chore(refs): sync Effect and Alchemy references to rc.115 and beta.78 (#12327)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-09-17 23:21:25 -07:00

19 lines
697 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 Cloudflare deploy needs (nitro's cloudflare_module preset).
// Do NOT set `nitro.preset` here; the deploy target owns it.
export default defineNuxtConfig({
compatibilityDate: "2026-08-31",
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 },
},
});