Skip to content
🚀
create-tuvix-app
create-tuvix-app
CLI scaffolding tool. Instantly bootstrap a Tuvix.js project with your choice of framework and tooling.

Utilisation

bash
npx create-tuvix-app my-app

Or with a specific package manager:

bash
pnpm create tuvix-app my-app
yarn create tuvix-app my-app

Modèles

ModèleDescription
shellOrchestrateur shell pour les microfrontends
react-appApplication micro React
vue-appApplication micro Vue
vanilla-appApplication micro Vanilla JS/TS

Spécifier le modèle directement

bash
npx create-tuvix-app my-shell --template shell
npx create-tuvix-app my-react --template react-app
npx create-tuvix-app my-vue --template vue-app
npx create-tuvix-app my-vanilla --template vanilla-app

Exemples

Les applications d'exemple prédéfinies peuvent être créées en utilisant le flag --example:

ExempleDescription
with-reactExemple de microfrontend React
with-vueExemple de microfrontend Vue
with-svelteExemple de microfrontend Svelte
with-angularExemple de microfrontend Angular
with-ssr-reactRendu côté serveur avec React
with-react-devtoolsIntégration React avec DevTools
with-react-event-busExemple d'intégration Event-Bus
with-react-routerExemple d'intégration Router
with-react-sandboxExemple d'isolation Sandbox/CSS
with-module-federation-reactModule Federation avec React
with-vanillaExemple de microfrontend Vanilla JS
with-ssr-vanillaRendu côté serveur avec Vanilla JS
with-multiple-frameworksIntégration de plusieurs frameworks

Créer un exemple

bash
npx create-tuvix-app my-app --example with-react
npx create-tuvix-app my-app --example with-vue
npx create-tuvix-app my-app --example with-multiple-frameworks