Skip to content

Commit 45bc315

Browse files
author
Wes Grimes
committed
update readme
1 parent 2f08016 commit 45bc315

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ interface RegistryItem {
3333
}
3434
3535
/**
36-
* A mapping of Component Name to Component Type
36+
* A resgitry array of Component Name to details
3737
* that must be updated with each new component
3838
* that you wish to load dynamically.
3939
*/
@@ -246,7 +246,7 @@ For any component that you would like dynamically rendered you need to do the fo
246246

247247
2. Add your component to the Dynamic Content Outlet Resgistry Array in `src/app/dynamic-content-outlet/dynamic-content-outlet.registry.ts`.
248248

249-
For any component that you would like dynamically rendered, add a new entry to the DynamicContentOutletMappings array in `dynamic-content-outlet.registry.ts`. The following properties must filled out:
249+
For any component that you would like dynamically rendered, add a new entry to the DynamicContentOutletRegistry array in `dynamic-content-outlet.registry.ts`. The following properties must filled out:
250250

251251
- `componentName`: This should match exactly the name of the Component you wish to load dynamically.
252252
- `componentType`: This should be the literal type of the Component you wish to load dynamically. Not wrapped in quotes.
@@ -264,7 +264,7 @@ For any component that you would like dynamically rendered, add a new entry to t
264264
},
265265
```
266266

267-
3. In your `angular.json` update `projects > ** > architect > build > options > lazyModules` array and add an item for each module that you added to the registry in order for the Angular AOT compiler to detect and pre-compile your dynamic modules. If you have multiple projects in a folder make sure you add this for the correct project you are importing and using dnyamic modules in. The updated file will look similar to this:
267+
3. In your `angular.json` update `projects > ** > architect > build > options > lazyModules` array and add an item for each module that you added to the registry in order for the Angular AOT compiler to detect and pre-compile your dynamic modules. If you have multiple projects in a folder make sure you add this for the correct project you are importing and using dynamic modules in. The updated file will look similar to this:
268268

269269
```
270270
{

0 commit comments

Comments
 (0)