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

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

<h2 id="ssgadapter">ssgAdapter</h2>

```typescript
export declare function ssgAdapter(opts: SsgAdapterOptions): any;
```

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

Parameter

</th><th>

Type

</th><th>

Description

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

opts

</td><td>

[SsgAdapterOptions](#ssgadapteroptions)

</td><td>

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

**Returns:**

any

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

<h2 id="ssgadapteroptions">SsgAdapterOptions</h2>

```typescript
export interface SsgAdapterOptions extends Omit<SsgRenderOptions, 'outDir'>
```

**Extends:** Omit&lt;SsgRenderOptions, 'outDir'&gt;

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

<h2 id="staticadapter">staticAdapter</h2>

> Warning: This API is now obsolete.
>
> Use `ssgAdapter` instead.

```typescript
staticAdapter: typeof ssgAdapter;
```

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