From 3fa9012c0de19b95717c0e95afcd1c0b3b9c2ab4 Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Mon, 5 Oct 2020 14:28:48 +0200 Subject: [PATCH] docs: update netlify section --- docs/guide/essentials/history-mode.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/guide/essentials/history-mode.md b/docs/guide/essentials/history-mode.md index ecc941dc..5cc9ca5d 100644 --- a/docs/guide/essentials/history-mode.md +++ b/docs/guide/essentials/history-mode.md @@ -151,13 +151,15 @@ Add this to your `firebase.json`: ### Netlify -Create a `_redirects` file with the following code: +Create a `_redirects` file that is included with your deployed files: ``` -/* /index.html 200 +/* /index.html 200 ``` -Read more about [Netlify redirecting options](https://docs.netlify.com/routing/redirects/rewrites-proxies/#history-pushstate-and-single-page-apps) for more info. +In vue-cli, nuxt, and vite projects, this file usually goes under a folder named `static` or `public`. + +You can more about the syntax on [Netlify documentation](https://docs.netlify.com/routing/redirects/rewrites-proxies/#history-pushstate-and-single-page-apps). You can also [create a `netlify.toml`](https://docs.netlify.com/configure-builds/file-based-configuration/) to combine _redirections_ with other Netlify features. ## Caveat -- 2.47.3