@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
36 lines (23 loc) • 1.42 kB
Markdown
---
lang: en
title: 'API docs: boot.createbooterforcomponentapplication'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/boot
permalink: /doc/en/lb4/apidocs.boot.createbooterforcomponentapplication.html
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/boot](./boot.md) > [createBooterForComponentApplication](./boot.createbooterforcomponentapplication.md)
## createBooterForComponentApplication() function
Create a booter that boots the component application. Bindings that exist in the component application before `boot` are skipped. Locked bindings in the main application will not be overridden.
<b>Signature:</b>
```typescript
export declare function createBooterForComponentApplication(componentApp: Application & Bootable, filter?: BindingFilter): Constructor<Booter>;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| componentApp | [Application](./core.application.md) & [Bootable](./boot.bootable.md) | The application exposing a component |
| filter | [BindingFilter](./context.bindingfilter.md) | Binding filter to selected bindings to be added |
<b>Returns:</b>
[Constructor](./context.constructor.md)<!-- --><[Booter](./boot.booter.md)<!-- -->>