---
title: \@qwik.dev/qwik-router/vite/vercel API Reference
---

# [API](/api) &rsaquo; @qwik.dev/qwik-router/vite/vercel

<h2 id="verceledgeadapter">vercelEdgeAdapter</h2>

```typescript
export declare function vercelEdgeAdapter(opts?: VercelEdgeAdapterOptions): any;
```

<table><thead><tr><th>

Parameter

</th><th>

Type

</th><th>

Description

</th></tr></thead>
<tbody><tr><td>

opts

</td><td>

[VercelEdgeAdapterOptions](#verceledgeadapteroptions)

</td><td>

_(Optional)_

</td></tr>
</tbody></table>

**Returns:**

any

[Edit this section](https://github.com/QwikDev/qwik/tree/main/packages/qwik-router/src/adapters/vercel-edge/vite/index.ts)

<h2 id="verceledgeadapteroptions">VercelEdgeAdapterOptions</h2>

```typescript
export interface VercelEdgeAdapterOptions extends ServerAdapterOptions
```

**Extends:** ServerAdapterOptions

<table><thead><tr><th>

Property

</th><th>

Modifiers

</th><th>

Type

</th><th>

Description

</th></tr></thead>
<tbody><tr><td>

outputConfig?

</td><td>

</td><td>

boolean

</td><td>

_(Optional)_ Determines if the build should auto-generate the `.vercel/output/config.json` config.

Defaults to `true`.

</td></tr>
<tr><td>

staticPaths?

</td><td>

</td><td>

string[]

</td><td>

_(Optional)_ Manually add pathnames that should be treated as static paths and not SSR. For example, when these pathnames are requested, their response should come from a static file, rather than a server-side rendered response.

</td></tr>
<tr><td>

target?

</td><td>

</td><td>

'webworker' \| 'node'

</td><td>

_(Optional)_ Define the `target` property in the `ssr` object in the `vite.config.ts` file.

Defaults to `webworker`.

</td></tr>
<tr><td>

vcConfigEntryPoint?

</td><td>

</td><td>

string

</td><td>

_(Optional)_ The `entrypoint` property in the `.vc-config.json` file. Indicates the initial file where code will be executed for the Edge Function.

Defaults to `entry.vercel-edge.js`.

</td></tr>
<tr><td>

vcConfigEnvVarsInUse?

</td><td>

</td><td>

string[]

</td><td>

_(Optional)_ The `envVarsInUse` property in the `.vc-config.json` file. List of environment variable names that will be available for the Edge Function to utilize.

Defaults to `undefined`.

</td></tr>
</tbody></table>

[Edit this section](https://github.com/QwikDev/qwik/tree/main/packages/qwik-router/src/adapters/vercel-edge/vite/index.ts)
