WU / DOCSUNIVERSAL MICROFRONTENDS
EN
WU / DISTRIBUTION AND COMPATIBILITY

Choose how to load WU.

Use npm to integrate it into your build or import the ESM module from a CDN. Keep the same runtime version for every application in a shell.

RUNTIME / NPM

wu-framework 4.0.0

npm install wu-framework@4.0.0

ESM, CommonJS, UMD, and subpaths for adapters and integrations.

npm package ↗
TOOLCHAIN / CLI

WU CLI 1.2.0

npm install --global @wu-framework/cli@1.2.0

Workspace creation, development, compilation, and diagnostics.

npm package ↗

Versions and verified examples

This documentation covers Framework 4.0.0 and CLI 1.2.0. References are checked against the code and executable examples for these versions.

All labs and downloads pin WU Framework 4.0.0. Terminal guides use CLI 1.2.0. Review breaking changes before upgrading an existing project.

Read the migration guide Get support

Importing from a CDN

import { wu } from 'https://cdn.jsdelivr.net/npm/wu-framework@4.0.0/dist/wu-framework.esm.js';

await wu.init({ sandbox: 'module', apps: [
  { name: 'catalog', url: '/apps/catalog' },
] });
await wu.mount('catalog', '#catalog-slot');

Example runtimes

The homepage, API recipes and Apps in motion bundle the runtime. Composition and Services and RPC use a versioned CDN with a local fallback of the same version. Each composition keeps one shared instance.

Downloadable SSR and MCP examples require Node and their processes. Opening the portal does not start a Node server. Worker/WASI examples execute work in the browser behind a WU contract.

Official repositories

Markdown documentation

Documentation and search are generated from the same chapters. Every page has a Markdown version for reading, contributions, and tools.

Portal platforms

BUILD WU WITH US

Found a bug? Have an idea?

Your experience improves WU. Tell us what went wrong or help support its development.