---
lang: en
title: 'API docs: core.mountcomponent'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/strongloop/loopback-next/tree/master/packages/core
permalink: /doc/en/lb4/apidocs.core.mountcomponent.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/core](./core.md) &gt; [mountComponent](./core.mountcomponent.md)

## mountComponent() function

Mount a component to an Application.

<b>Signature:</b>

```typescript
export declare function mountComponent(app: Application, component: Component): void;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  app | [Application](./core.application.md) | Application |
|  component | [Component](./core.component.md) | Component instance |

<b>Returns:</b>

void


