---
title: "Netlify"
description: "Deploy your Nuxt Application to Netlify infrastructure."
canonical_url: https://nuxt.com/deploy/netlify
last_updated: 2026-04-15
---

# Netlify

> Deploy your Nuxt Application to Netlify infrastructure.

<tip>

**Zero Configuration ✨**

<br />

Integration with Netlify is possible with zero configuration, [learn more](https://nitro.unjs.io/deploy#zero-config-providers).

</tip>

## Setup

Nuxt will auto-detect that you are in a [Netlify](https://www.netlify.com) build environment and build an optimized version of your server.

For new sites, Netlify will detect that you are using Nuxt 3 and set the publish directory to `dist` and build command to `npm run build`.

<note>

If you are upgrading an existing site from Nuxt 2 you should check these and update them if needed.

</note>

If you want to add custom redirects, you can do so with [`routeRules`](/docs/guide/concepts/rendering#hybrid-rendering) or by adding a [`_redirects`](https://docs.netlify.com/routing/redirects/#syntax-for-the-redirects-file) file to your `public` directory.

<tip color="green" icon="i-lucide-check-circle">

For deployment, just push to your git repository [as you would normally do for Netlify](https://docs.netlify.com/configure-builds/get-started/).

</tip>

## Netlify Edge Functions

<read-more target="_blank" to="https://www.netlify.com/blog/announcing-serverless-compute-with-edge-functions">

Netlify Edge Functions use Deno and the powerful V8 JavaScript runtime to let you run globally distributed functions for the fastest possible response times.

</read-more>

Set the following environment variable to run Nuxt on Edge Functions:

```bash
SERVER_PRESET=netlify_edge
```

## On-demand Builders

On-demand Builders are serverless functions used to generate web content as needed that’s automatically cached on Netlify’s Edge CDN.

They enable you to build pages for your site when a user visits them for the first time and then cache them at the edge for subsequent visits until the next deployment.

<read-more target="_blank" to="https://docs.netlify.com/configure-builds/on-demand-builders/">

Read More about Netlify on-demand builders

</read-more>

Set the following environment variable to enable on-demand builders:

```bash
SERVER_PRESET=netlify_builder
```

<read-more target="_blank" to="https://nitro.unjs.io/deploy/providers/netlify">

Head over **Nitro documentation** to learn more about the netlify deployment preset.

</read-more>
