Interface LDVuePluginOptions

Options for installing the LaunchDarkly Vue plugin.

Hierarchy

Properties

bootstrap?: unknown

Bootstrap data from the server. When provided, the client immediately uses these values before the first network response, eliminating the flag-fetch waterfall on page load. Merged into startOptions.bootstrap; this top-level value takes precedence.

clientSideID: string

The LaunchDarkly client-side ID.

context: LDContext

The initial LaunchDarkly context.

deferInitialization?: boolean

If true, the client will not start automatically. Start it manually via useLDClient().start().

Default Value

false
injectionKey?: InjectionKey<LDVueInstance>

A custom injection key, for running multiple LaunchDarkly clients in the same application. If not provided, the default key is used. Create one with createLDVueInstanceKey.

ldOptions?: LDOptions

Options for the LaunchDarkly client.

startOptions?: LDStartOptions

Options for starting the LaunchDarkly client. Useful when not deferring initialization.

Generated using TypeDoc