Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 5 additions & 8 deletions libs/mf/tutorial/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,15 +239,12 @@ So far, we just hardcoded the URLs pointing to our Micro Frontends. However, in

```typescript
import { loadManifest } from '@angular-architects/module-federation';
```

loadManifest('assets/mf.manifest.json')
.catch((err) => console.error('Error loading remote entries', err))
.then(() => import('./bootstrap'))
.catch((err) => console.error(err));

````

loadManifest('assets/mf.manifest.json')
.catch((err) => console.error('Error loading remote entries', err))
.then(() => import('./bootstrap'))
.catch((err) => console.error(err));
```
The imported `loadManifest` function also loads the remote entry points.

3. Adjust the shell's lazy route pointing to the Micro Frontend as follows (`projects/shell/src/app/app.routes.ts`):
Expand Down