Nuxt & Universal SSR (50 Qs)•Part 3: Advanced Internals, Performance & Production (Senior / Staff)
Nuxt 3 Nitro Deployment Presets: Deploying Across Any Runtime.
senior LevelFormsPerformanceKubernetes
In Simple Words:
Nitro compiles Nuxt into standalone outputs configured for specific cloud environments using NITRO_PRESET:
- Node.js (
node-server): Standalone Express/HTTP server for Docker or PM2. - Vercel / Netlify (
vercel,netlify): Output mapped to serverless and edge functions. - Cloudflare Workers / Pages (
cloudflare-pages): Zero-cold-start Edge V8 isolates with no Node.js runtime dependency. - AWS Lambda (
aws-lambda): Handlers tailored for API Gateway and Lambda invocations.