]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
docs: update netlify section
authorEduardo San Martin Morote <posva13@gmail.com>
Mon, 5 Oct 2020 12:28:48 +0000 (14:28 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Mon, 5 Oct 2020 12:28:48 +0000 (14:28 +0200)
docs/guide/essentials/history-mode.md

index ecc941dcabd1083fc041f9cece0f3364244aa2ad..5cc9ca5dbeb33fa2e6bd363b01bb34d6f9c3b7a7 100644 (file)
@@ -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