Version 2
create-fsd-architecture documentation
The CLI now supports two workflows in one package: full project scaffolding and in-project FSD slice generation.
Project scaffolding
Create a fresh React + Vite or Next.js FSD project through the existing interactive wizard.
Read docsSlice generation
Generate features, entities, widgets, and pages directly inside an existing project.
Read docsAuth generation
Build an auth feature with optional login, register, and forgot password flow modules.
Read docsCLI workflows
Start a new project
No generator flag opens the existing interactive project creation wizard.
bash
npm create fsd-architecture@latestGenerate inside a project
Use the generator command from an existing codebase to add FSD slices.
bash
npx create-fsd-architecture --generate feature auth