RuntimeActive

Nitro

Nuxt's server engine powering serverless, hybrid and standalone server builds.

Open source page

Field note

What it does

Nitro is the server engine that powers Nuxt, with cross-platform and serverless support, API routes, hybrid mode and a standalone server output.

Capabilities

Available capabilities

Tags

Tags

Ways to use it

Ways to use it

sdk

JavaScript / https://h3.unjs.io/

sdk

JavaScript / https://github.com/unjs/ofetch

sdk

javascript / h3

sdk

javascript / ofetch

other

Not filed / Not filed

other

Not filed / Not filed

Product features

Product features

API Layer

Server API endpoints and middleware added by Nitro using h3.

Client-Side Rendering

Cross-platform Support

Runs on Node.js, browsers, service workers and more.

Deploying a Static Client-Rendered App

Direct API Calls

Routes can be called directly via the $fetch helper, skipping an extra API call on the server.

Edge-Side Rendering

Hybrid Rendering

Rendering Modes

Route Rules

Server Bundle Size with ssr: false

Server-rendering the Error Page

Skipping Client Fallback Generation

Standalone Server

Produces a standalone server dist independent of node modules in a .output directory.

Native Storage Layer

Implements a native storage layer supporting multi-source drivers and local assets.

Typed API Routes

Nitro generates typings for API routes and middleware when a value is returned.

Universal Rendering

What are 200.html and 404.html?