Static
startupMonitors the startup progress of the platform host.
Starting the platform host may take some time. During startup, the manifests of the registered applications are fetched, activator microfrontends are installed, and the platform waits until all applications have signaled readiness.
Subscribe to this Observable to monitor the startup progress and provide feedback to the user like displaying a progress bar or a spinner. The Observable reports the progress as a percentage number. The Observable completes after the platform has been started.
Static
startStarts the platform host.
In the host application the SCION Microfrontend Platform is configured and web applications that want to interact with the platform are registered.
The host application can provide a manifest to declare intentions and contribute behavior to integrated applications via HostConfig.manifest in MicrofrontendPlatformConfig.host. The manifest can be specified either as an object literal or as a URL to load it over the network.
The platform should be started during the bootstrapping of the host application. In Angular, for example, the platform is typically started in an app initializer. Since starting the platform host may take some time, you should wait for the startup Promise to resolve before interacting with the platform.
Configures the platform and lists applications allowed to interact with the platform.
A Promise that resolves when started the platform host.
Main entry point for configuring and starting the platform in the host application. This class cannot be instantiated. All functionality is provided by static methods.
The host application, sometimes also called the container application, provides the top-level integration container for microfrontends. Typically, it is the web application which the user loads into the browser that provides the main application shell, defining areas to embed microfrontends.
In the host application the SCION Microfrontend Platform is configured and web applications that want to interact with the platform are registered. The host application can provide a manifest to contribute behavior to integrated applications. For more information, see HostConfig.manifest in MicrofrontendPlatformConfig.host.
If integrating the SCION Microfrontend Platform in a library, the manifest of the host can be augmented by registering a HostManifestInterceptor.
See