AdminUiPlugin

AdminUiPlugin

Documentation generated from admin-ui-plugin.ts on Mar 14 2019 at 20:14

This plugin starts a static server for the Admin UI app, and proxies it via the /admin/ path of the main Vendure server.

Signature

class AdminUiPlugin implements VendurePlugin {
  constructor(options: AdminUiOptions)
  configure(config: Required<VendureConfig>) => Promise<Required<VendureConfig>>;
  onBootstrap(inject: InjectorFn) => void | Promise<void>;
  onClose() => Promise<void>;
}

Members

constructor

method
type:
(options: AdminUiOptions) => AdminUiPlugin

configure

method
type:
(config: Required<VendureConfig>) => Promise<Required<VendureConfig>>

onBootstrap

method
type:
(inject: InjectorFn) => void | Promise<void>

onClose

method
type:
() => Promise<void>
alpha