Easy integration of icestark micro-frontends framework with icejs applications
70
Create a simple React micro-frontend that can run standalone or inside a single-spa/qiankun style host, targeting a provided container when available and passing host props into the rendered view.
ice-container, mounting renders the app into that element and displays the customProps.message text. @test#ice-container, mounting creates that child element, appends it to the host container, and renders the app content showing customProps.message. @test@generates
export interface MicroAppOptions {
container?: Element;
customProps?: Record<string, any>;
singleSpa?: boolean;
}
export async function bootstrap(options?: MicroAppOptions): Promise<void>;
export async function mount(options?: MicroAppOptions): Promise<void>;
export async function unmount(options?: MicroAppOptions): Promise<void>;Provides micro-frontend runtime integration with host containers, including single-spa/qiankun compatibility for container-targeted rendering.
Install with Tessl CLI
npx tessl i tessl/npm-ice--plugin-icestarkdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10