Webcomponent Expose Method Requirements
To correctly use Webcomponent expose method, 2 requirements need to be fulfilled:
-
Database is correctly configured for module or Remote Component
-
technology set to WebComponent
-
tag name set to agreed HTML element name
-
-
Microfrontend is adapted to expose Web Components compliant content
-
desired component needs to be registered as Custom Element in the Custom Elements Registry
-
Angular issues are covered (use the
@onecx/angular-webcomponentslibrary to cover them by default)-
multiple routers synchronization
-
ngZone sharing
-
platform sharing
-
-
| Database configuration is easy to set up using the Application Store Application. |
| To ensure Microfrontend compliance with Web Components for Angular modules and Remote Components, it is recommended to use the @onecx/angular-webcomponents library. |