Home > @xoram/core > addPlugin
addPlugin() function
Register a plugin into the active application after it has been initialized.
Signature:
typescript
export declare function addPlugin(definePlugin: PluginDefinition, app: Application): void;
1
Parameters
Parameter | Type | Description |
---|---|---|
definePlugin | the plugin definition to register in the application. | |
app | the application to register the plugin into, you should not need to pass this argument in normal use |
Returns:
void