smfsd
v1.0.3
Published
Hello, frontend developer! ๐ Do you, like me, enjoy using FSD (Feature-Sliced Design) in your projects but donโt want to waste time creating directories and files for every entity?
Downloads
31
Readme
SMFSD โ CLI FSD structure generator for React
Hello, frontend developer! ๐
Do you, like me, enjoy using FSD (Feature-Sliced Design) in your projects but donโt want to waste time creating directories and files for every entity?
SMFSD โ CLI tool that automates the creation of an FSD framework in your React project.
๐ Install
Install it globally using npm:
npm install -g smfsd๐ป Usage
smfsd supports all kinds of FSD layers:
| Layer | Folder |
| --------- | ---------------- |
| entity | src/entities |
| feature | src/features |
| widget | src/widgets |
| page | src/pages |
| shared | src/shared |
smfsd create entity user This way, the user entity was created.
src/entities/user/
โโโ index.ts
โโโ model/
โ โโโ types.ts
โโโ ui/
โ โโโ User.tsx
โโโ user.sassHappy coding!
