You're reading the 1.x docs. Go to latest

Skip to content

lit-ui-router-ssr / lit-ui-router-ssr / PrerenderedPage

Interface: PrerenderedPage ​

Defined in: packages/lit-ui-router-ssr/src/prerender.ts:330

A page prerender emitted.

Extends ​

Properties ​

PropertyModifierTypeDescriptionInherited fromDefined in
bytespublicnumberBytes written, or planned under dryRun.EmittedPage.bytespackages/ui-router-server/dist/prerender.d.ts:16
filepublicstringPath relative to outDir — sheet/7B/index.html.EmittedPage.filepackages/ui-router-server/dist/prerender.d.ts:10
pathpublicstringThe requested path, exactly as the caller listed it.EmittedPage.pathpackages/ui-router-server/dist/prerender.d.ts:8
payload?publicPagePayloadWhat the page's signature carries of its resolve payload. Absent on a page that carries none: one drawn with no payload, one renderShell returned as a string, and a response state's body.-packages/lit-ui-router-ssr/src/prerender.ts:336
statusreadonlynumberStatus the page answers with, as the adapters answer the same path.EmittedPage.statuspackages/ui-router-server/dist/prerender.d.ts:14
verdictpublicVerdictThe verdict that produced it; verdict.status carries the otherwise projection's 404.EmittedPage.verdictpackages/ui-router-server/dist/prerender.d.ts:12