Runnable projects, one per feature or framework. Each example has a Playwright spec in its e2e/ folder that runs in CI.
Start any example with the create-tuvix-app CLI:
npx create-tuvix-app@latest --example <example-name> my-app
cd my-app
npm install && npm run devInside a clone of this repository, run pnpm install at the root, then pnpm dev (or pnpm start for the server examples) in the example folder.
| Example | Framework | What it shows |
|---|---|---|
with-vanilla |
Plain JS | defineMicroApp, routing and interceptLinks with no framework |
with-react |
React 18 | Shell, routes, props via @tuvix.js/react |
with-react-event-bus |
React 18 | Apps publishing and receiving events on getGlobalBus() |
with-react-router |
React 18 | Route-to-app mapping and client-side link navigation |
with-react-sandbox |
React 18 | sandbox: true shadow-root CSS isolation, with an unsandboxed control |
with-react-devtools |
React 18 | In-page debug panel from @tuvix.js/devtools |
with-module-federation-react |
React (webpack 5) | Remote apps loaded through createFederatedEntry |
with-ssr-vanilla |
Express | Server-side fragment composition with composeHTML |
with-ssr-react |
React (Express) | React renderToString fragments composed with composeHTML |
with-ssr-islands |
React 19 shell, Vue 3, Svelte 5, Angular 20 (Express + Vite) | Server-rendered islands that hydrate on the client, an inline TuvixReactApp, and a failing island that falls back without breaking the page |
with-vue |
Vue 3 | createVueMicroApp with props through defineProps |
with-svelte |
Svelte 4 | createSvelteMicroApp with export let props |
with-angular |
Angular 16 | Standalone components, zoneless, createAngularMicroApp |
with-multiple-frameworks |
React and Vue 3 | Two frameworks on one page sharing the event bus |
The examples with a README.md also ship it in Turkish, Spanish, German, French, Japanese, Chinese, Italian, Portuguese and Hindi. The English README is the reference when they differ.