interface / @typed/vue/view

ViewOptions

Configuration is applied to a new app before mount, hydration, or server rendering.

Package version
1.0.0-beta.13
Category
interface

Import

import { ViewOptions } from "@typed/vue/view";

Signatures

export interface ViewOptions {
    readonly id?: string;
    readonly configureApp?: (app: App) => void;
    readonly onSSRContext?: (context: SSRContext) => void | Promise<void>;
    readonly stopPropagation?: RootEventOptions;
}

Property: id

Optional host identity override. Generated per render and restored during hydration by default.

Property: onSSRContext

Receives the request-local SSR context, including teleports, after server rendering.

Property: stopPropagation

Stop selected bubbling events at the automatic host; undefined inherits the context default.

Other public imports

These import paths expose the same declaration. Each page retains its own public name and signature.

Source