Nuxt/docs/content/3.docs/8.deployment/4.netlify.md
Daniel Roe 1a39eff502
docs: update migration guide for nuxt 3 (#3819)
Co-authored-by: Dan Pastori <dan@521dimensions.com>
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-03-30 19:32:30 +02:00

34 lines
1.2 KiB
Markdown

---
icon: LogoNetlify
---
# Netlify
How to deploy Nuxt to Netlify.
::list
- Support for serverless SSR build
- Auto-detected when deploying
- No configuration required
::
## Setup
Nitro will auto-detect that you are in a [Netlify](https://www.netlify.com) environment and build the correct version of your Nuxt server. For new sites, Netlify will detect that you are using Nuxt 3 or bridge and set the publish directory to `dist` and build command to `npm run build`. If you are upgrading an existing site you should check these and update them if needed.
Normally, the deployment to Netlify does not require any configuration.
However, if you want to add custom redirects, you can do so by adding a [`_redirects`](https://docs.netlify.com/routing/redirects/#syntax-for-the-redirects-file) file in the [`public`](/docs/directory-structure/public) directory.
## Deployment
Just push to your git repository [as you would normally do for Netlify](https://docs.netlify.com/configure-builds/get-started/).
## More information
See [more information on the Lambda preset](/docs/deployment/presets/lambda) for full details.
## Demo
A live demo is available on <https://nitro-demo.netlify.app/>.