---
url: >-
  https://lit-ui-router.dev/v1/reference/ui-router-server/vite/interfaces/PrerenderOptions.md
---
[ui-router-server](../../index.md) / [vite](../index.md) / PrerenderOptions

# Interface: PrerenderOptions

Defined in: vite.ts:160

The object form of [ServerRouterPluginOptions.prerender](ServerRouterPluginOptions.md#prerender).

## Properties

| Property | Type | Description | Defined in |
| ------ | ------ | ------ | ------ |
|  `entry` | `string` | The prerender entry module, such as `./src/prerender.ts`. | vite.ts:162 |
|  `preload?` | readonly `string`\[] | Modules the worker loads, in order, before the entry, such as a DOM shim or a renderer's element registrations. A relative path resolves against Vite's root; a bare specifier resolves as the entry's imports do. | vite.ts:168 |
