Page Contents

Home > @loopback/core > mountComponent

mountComponent() function

Mount a component to an Application.

Signature:

export declare function mountComponent(app: Application, component: Component): void;

Parameters

Parameter Type Description

app

Application

Application

component

Component

Component instance

Returns:

void