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
@@ -14,138 +14,104 @@ React Router can be deployed two ways:
14
14
- Fullstack Hosting
15
15
- Static Hosting
16
16
17
-
To get the most benefits from React and React Router, we recommend fullstack hosting.
17
+
The official [React Router templates](https://github.com/remix-run/react-router-templates) can help you bootstrap an application or be used as a reference for your own application.
18
18
19
-
## Fullstack Hosting
19
+
When deploying to static hosting, you can deploy React Router the same as any other single page application with React.
20
20
21
-
You can get the most out of React and React Router by deploying to a fullstack hosting provider.
21
+
## Templates
22
22
23
-
### Cloudflare
23
+
After running the `create-react-router` command, make sure to follow the instructions in the README.
24
24
25
-
Click this button to automatically deploy a starter project with your GitHub account:
26
-
27
-
[![Deploy to Cloudflare][cloudflare_button]][cloudflare]
28
-
29
-
This template includes:
30
-
31
-
- SQL database with Cloudflare D1
32
-
- Key Value storage with Cloudflare KV
33
-
- Asset upload and storage with Cloudflare R2
34
-
- Image uploads, storage, and optimized `<Image/>` component with Cloudflare Images
35
-
36
-
[View it live →](https://react-router-template.pages.dev)
37
-
38
-
### Epic Stack (Fly.io)
39
-
40
-
Start with the Epic Stack template and follow the instructions in the README:
And then deploy the `build/client` folder to any static host.
141
-
142
-
You'll need to ensure that all requests are routed to `index.html`. This is different with every host/server, so you'll need to find out how with your host/server.
0 commit comments