| 1 | import tailwindcss from "@tailwindcss/vite"; |
| 2 | import { defineNuxtConfig } from "nuxt/config"; |
| 3 | |
| 4 | // The project's own nuxt.config.ts loads natively — Alchemy only overlays |
| 5 | // what the Neon deploy needs (the Node preset). |
| 6 | // Do NOT set `nitro.preset` here; the deploy target owns it. |
| 7 | export default defineNuxtConfig({ |
| 8 | compatibilityDate: "2026-07-01", |
| 9 | telemetry: { enabled: false }, |
| 10 | // Tailwind CSS v4 wired through this config — proof the project's own |
| 11 | // nuxt.config.ts (vite plugins included) is loaded by the Alchemy build. |
| 12 | css: ["~/assets/css/main.css"], |
| 13 | vite: { |
| 14 | plugins: [tailwindcss()], |
| 15 | }, |
| 16 | routeRules: { |
| 17 | "/about": { prerender: true }, |
| 18 | }, |
| 19 | }); |