← @mortar-kit/core/render

RenderOptionsinterface

import { RenderOptions } from '@mortar-kit/core/render'

interface RenderOptions

Options for createRender.

Properties

manifest: RenderManifest

import manifest from 'virtual:solid-manifest'.

app: () => Element

The whole document: your Document around your App (with <ClientScripts /> in its head).

hydrate?: HydrateOption

Which pages load JavaScript and hydrate. Default ['/admin']: the editor and its preview hydrate, public pages are plain HTML. Prefixes match whole path segments, case-insensitively (as routers do). Other pages still load the client entry when they show an interactive brick (an island), to hydrate just those bricks.