From 0f2cba5b1d7a4654835988bbad6035aa0d121069 Mon Sep 17 00:00:00 2001 From: Tobias Diez Date: Tue, 8 Mar 2022 19:01:37 +0100 Subject: [PATCH] docs: add custom redirects for netlify deployment #3553) --- docs/content/3.docs/3.deployment/4.netlify.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/content/3.docs/3.deployment/4.netlify.md b/docs/content/3.docs/3.deployment/4.netlify.md index b35abc85d9..9414e20a7e 100644 --- a/docs/content/3.docs/3.deployment/4.netlify.md +++ b/docs/content/3.docs/3.deployment/4.netlify.md @@ -17,6 +17,9 @@ How to deploy Nuxt to Netlify. 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/).