WU / DOCSUNIVERSAL MICROFRONTENDS
EN
WU FRAMEWORK / OFFICIAL DOCUMENTATION

Microfrontends.
One page.

WU Framework composes applications through a common lifecycle, independent of their framework. Each app keeps its technology; WU coordinates mounting and communication. WU CLI prepares your project to get started.

OFFICIAL DOCSWU / v4ENGLISH EDITION
TRY IT HERE

One click in React. One update in Vue.

WU 4.0.0

Click Add one. Two real microapps share a counter through WU. Then unmount Vue and see what happens to the state.

Connecting two microapps…

ARCHITECTURE DECISIONS

Configuration and isolation.

Comparison guide →

Choose how you want to load, mount and connect applications. These tools can also be combined.

DecisionWU Frameworksingle-spaWebpack Module Federation
CompositionLifecycle, store, events and servicesLifecycle and orchestrationRemote module loading and shared dependencies
CSS isolationWU-managed Shadow DOM, per configurationApp strategy; supports Shadow DOMApp and renderer strategy
DOM isolationOne Shadow Root per app in this demo; iframe mode is a separate option.Mount container; the app decides whether to use Shadow DOM.Federation shares modules; the app decides its DOM container.
Typical configurationWU CLI generates the shell and apps. Configure manifests, grants and lifecycle; ModuleFederationPlugin is not required.Root config, app registration, activation rules and lifecycle; choose your loader and build.With webpack: ModuleFederationPlugin, exposes/remotes and the shared policy. Other federation hosts have their own configuration.
Scope and technical sources

Shadow DOM encapsulates structure and CSS selectors. It is not a security boundary against hostile JavaScript. The configuration described is not a difficulty score or a productivity benchmark.

Official technical sources: webpack / ModuleFederationPlugin · single-spa / CSS · single-spa + Module Federation

CODE & COMMUNITY

Take part in building WU.

Explore the official repositories, share a reproducible case or talk to the creators.

The Forgejo repositories require sign-in. You can also report a bug or suggest an idea through Support.

13 included adapters. Open integration.

You can also connect another technology through a custom lifecycle. Create an integration →

FRONTEND DEVELOPMENT

What do you want to build?

Code your screens in JavaScript or TypeScript. Connect your product’s capabilities with WU state, events and services.

Develop web applications with WU →

Learn step by step

01 / GET STARTED
  1. 01 / UNDERSTANDWhat is WU

    The problem it solves and when it is a good fit.

  2. 02 / CREATEYour first microapp

    Generate the project and check a working React app.

  3. 03 / EXPANDAdding a second app

    Add Vue to the same project and test both apps.

  4. 04 / BUILDPreparing production

    Build the files you will publish and review them in the browser.

Choose how to compose your frontend

Continue according to your needs

02 / LOOK UP AND PRACTICE

How the applications fit together

VIEW ARCHITECTURE ↗
EXAMPLE / A STORE● TWO APPS
YOUR PAGE / SHELLORGANIZES NAVIGATION AND SPACE
WU FRAMEWORK MOUNTS APPS · SHARES DATA AND EVENTS
CatalogREACT · CHOOSE A PRODUCT
CartVUE · DISPLAY THE SELECTION
EACH APP KEEPS ITS INTERFACE AND DEPENDENCIESTHE SHELL BRINGS THEM TOGETHER

Your first result

03 / IN YOUR PROJECT
NODE 24 + NPM

Start with one app.

The CLI generates an Astro host page and a React microapp. The guide explains which files appear and how to test the counter. You will add Vue in the next step.

Follow the complete guide →
TERMINALwu 1.2.0
npm install --global @wu-framework/cli@1.2.0
wu create mi-plataforma --template react --shell astro
cd mi-plataforma
wu install
wu dev --native --port 3000 --no-open
Open in StackBlitz

Edit Astro, React and Vue in your browser. The environment installs the example dependencies and starts the preview.

This starter uses JavaScript tooling. Follow the local guide to run WU’s native CLI. Local setup guide →
↳On startup, open http://127.0.0.1:3000 and select mi-plataforma. The React counter should respond to the buttons + and −.

Want to study a complete application? See how this portal is built. To choose npm or CDN, see versions and distribution.

BUILD WU WITH US

Found a bug? Have an idea?

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