Skip to content

Commit b505339

Browse files
author
Mick Lawitzke
authored
Update components.md
Added related providers topics that cant be found otherwise without reading the whole documentation.
1 parent 30c2741 commit b505339

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

content/components.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,3 +203,11 @@ This is how our directory structure should look now:
203203
<div class="item">main.ts</div>
204204
</div>
205205
</div>
206+
207+
#### Get / Instantiate providers dynamically
208+
To get existing or instantiate providers dynamically you can use [Module reference](https://docs.nestjs.com/fundamentals/module-ref).
209+
210+
#### Get providers inside bootstrap()
211+
To get providers within the `bootsrap()` function, e.g. for standalone applications without controllers, see [Standalone applications](https://docs.nestjs.com/standalone-applications)
212+
213+
#### Get / Instantiate providers dynamically

0 commit comments

Comments
 (0)