Skip to content
Renaat De Muynck edited this page Apr 20, 2020 · 1 revision

API

The main application

addPlugin(plugin, options)

Adds a plug-in to the app. This method takes two arguments:

  • plugin: This can be either a function or an object with an init() method. Both will be called with a service manager object and the provided options.
  • options: An object containing the options for the plugin

run()

Starts the application.

Clone this wiki locally