Micro frontends can be loaded into the shell application by the use of Webpack and Module federation. Micro frontends must be implemented as Web Components as this makes it possible to load micro frontends created in different frameworks into the shell app which is made in Angular.
Disclaimer, the micro frontends that composes Common Workplace are developed with the intent to run inside the shell application kam-ui and is not supported to run in context of other shell applications.
Indholdsfortegnelse
Table of Contents |
---|
...
The shell application handles authentication and stores the access token in Session storage. When a micro frontend needs to call the infrastructure the access token can be fetched from Session Storage by the key “access_token”.
Micro frontends
Using micro frontends in other
...
applications than Common Workplace
The micro frontends is implemented as Web Components which makes it possible to reuse in other web applications using the Angular framework.
...