You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guide/tips.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,8 @@ To catch and handle errors in your application, use Svelte's native `<svelte:bou
19
19
20
20
When deploying a Single Page Application, ensure your web server is configured to handle client-side routing:
21
21
22
-
- Platforms like **Vercel**, **Netlify**, and **Cloudflare Pages** natively support SPAs and require no additional configuration.
22
+
- Platforms like **Vercel** and **Cloudflare Pages** natively support SPAs and require no additional configuration.
23
+
- For **Netlify**, see the [official documentation on redirects for SPAs](https://docs.netlify.com/manage/routing/redirects/rewrites-proxies/#history-pushstate-and-single-page-apps).
23
24
- For **Nginx**, use the `try_files` directive to serve `index.html` for all routes.
24
25
- For **Apache**, use the `FallbackResource /index.html` directive to redirect all requests to `index.html`.
25
26
- For **AWS Amplify**, see the [official documentation on redirects for SPAs](https://docs.aws.amazon.com/amplify/latest/userguide/redirects.html#redirects-for-single-page-web-apps-spa).
0 commit comments