Co‑locating Nuxt API routes and fine‑tuning per‑route rendering with routeRules
Learn how to place API handlers in server/api, use auto‑imported h3, and control each route’s rendering mode for static, SSR or client‑only builds.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Learn how to place API handlers in server/api, use auto‑imported h3, and control each route’s rendering mode for static, SSR or client‑only builds.
Learn how to turn a Nuxt 3 app into a single Nitro‑powered serverless function, the minimal design, trust boundaries, operational checks, and when to re‑architect.
Context Nuxt 3's Nitro server runs as a single Node.js process by default, sharing one event loop across all incoming requests. When page logic in asyncData , fetch , or server middleware performs CPU-intensive work, that work blocks the event loop and latency grows only when multiple requests arrive concurrently. Unresolved behavior The framework does not a