diff --git a/libs/mf/tutorial/tutorial.md b/libs/mf/tutorial/tutorial.md index 83da319f..0fc39fe4 100644 --- a/libs/mf/tutorial/tutorial.md +++ b/libs/mf/tutorial/tutorial.md @@ -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`):