t3-code-android-nightly/.repos/alchemy-effect/packages/frontend-frameworks/fixtures/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

26 lines
854 B
TypeScript

import { defineNuxtConfig } from "nuxt/config";
/**
* The USER's own nuxt.config.ts — loaded natively by the integration (c12
* through the project's @nuxt/kit). The settings below are all observable
* from the e2e suite, proving the file actually applied:
*
* - `runtimeConfig.public.fixtureMarker` renders on the home page.
* - `routeRules["/prerendered"].prerender` makes nitro prerender that route
* into `.output/public` at build time.
*
* Note there is NO `nitro.preset` here: the deploy target owns the preset
* (a user-set foreign preset is a hard error by design).
*/
export default defineNuxtConfig({
compatibilityDate: "2026-07-01",
telemetry: { enabled: false },
runtimeConfig: {
public: {
fixtureMarker: "user-nuxt-config-loaded",
},
},
routeRules: {
"/prerendered": { prerender: true },
},
});