get()
#
Available since 2.12.2
Gets the instance of an already loaded plugin.
get<TPlugin extends Plugin> (name: string): TPlugin
Argument | Type | Description |
---|---|---|
name | string | Plugin name |
Usage #
const mailerPlugin = app.plugin.get<MailerPlugin>('mailer');
Edit this page on Github (opens new window)