Pular para o conteúdo principal

Function: activateFrontendPlugin()

activateFrontendPlugin(runtime, definition, api): Promise<void>

Defined in: packages/plugin-sdk/src/runtime.ts:168

Activate a frontend plugin with host-enforced registration cleanup.

Parameters​

runtime​

PluginRuntime<PluginDefinition>

definition​

PluginDefinition

api​

FrontendPluginApi

Returns​

Promise<void>

Deprecated​

See PluginRuntime — the production host does not use this.