Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docs/integrations/frameworks/analog.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,12 @@ export default defineConfig({
### 5. Deploy

```bash
void auth login
void connect --platform cloudflare
void deploy
```

`void connect` signs you in to Cloudflare, asks which account to use, and saves it as the deploy target. To deploy to a Void platform run by your team instead, see [Deployment](../../guide/deployment.md).

## Using Void Features

Most [Void platform features](../../guide/app-types.md#void-apps) work with Analog. Use them in page server loaders, actions, and API routes:
Expand Down
11 changes: 10 additions & 1 deletion docs/integrations/frameworks/astro.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,19 @@ export default defineConfig({
### 5. Deploy

```bash
void auth login
void connect --platform cloudflare
void deploy
```

`void connect` signs you in to Cloudflare, asks which account to use, and saves it as the deploy target. To deploy to a Void platform run by your team instead, see [Deployment](../../guide/deployment.md).

On your own Cloudflare account, Void deploys an Astro app as a Worker, and Astro only builds one when a route sets `export const prerender = false` or `output` is `'server'`. If every page is prerendered, which is Astro's default, build the site and deploy its files instead:

```bash
npm run build
void deploy --dir dist/client
```

## Using Void Features

Most [Void platform features](../../guide/app-types.md#void-apps) work with Astro in both local dev and production when using Astro 7+ with `nodejs_als`.
Expand Down
4 changes: 3 additions & 1 deletion docs/integrations/frameworks/nuxt.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,12 @@ export default defineConfig({
### 5. Deploy

```bash
void auth login
void connect --platform cloudflare
void deploy
```

`void connect` signs you in to Cloudflare, asks which account to use, and saves it as the deploy target. To deploy to a Void platform run by your team instead, see [Deployment](../../guide/deployment.md).

## Using Void Features

Most [Void platform features](../../guide/app-types.md#void-apps) work with Nuxt. Use them in server routes, API handlers, and middleware:
Expand Down
4 changes: 3 additions & 1 deletion docs/integrations/frameworks/react-router.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,12 @@ For React Router v7, set `future.v8_viteEnvironmentApi` to `true` in `react-rout
### 4. Deploy

```bash
void auth login
void connect --platform cloudflare
void deploy
```

`void connect` signs you in to Cloudflare, asks which account to use, and saves it as the deploy target. To deploy to a Void platform run by your team instead, see [Deployment](../../guide/deployment.md).

If you use React Router 8 and `react-router.config.ts` sets `prerender`, tell Void to build with React Router's CLI:

```ts
Expand Down
4 changes: 3 additions & 1 deletion docs/integrations/frameworks/sveltekit.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,12 @@ Run `void prepare` after a fresh clone or before typechecking in CI so `.void/ts
### 6. Deploy

```bash
void auth login
void connect --platform cloudflare
void deploy
```

`void connect` signs you in to Cloudflare, asks which account to use, and saves it as the deploy target. To deploy to a Void platform run by your team instead, see [Deployment](../../guide/deployment.md).

## Using Void Features

Most [Void platform features](../../guide/app-types.md#void-apps) work with SvelteKit. Use them in server load functions, actions, and API routes:
Expand Down
4 changes: 3 additions & 1 deletion docs/integrations/frameworks/tanstack-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,12 @@ export default defineConfig({
### 4. Deploy

```bash
void auth login
void connect --platform cloudflare
void deploy
```

`void connect` signs you in to Cloudflare, asks which account to use, and saves it as the deploy target. To deploy to a Void platform run by your team instead, see [Deployment](../../guide/deployment.md).

## Using Void Features

Most [Void platform features](../../guide/app-types.md#void-apps) work with TanStack Start. Use them in server functions:
Expand Down