Quickly create a react components export with command line
🏠 Homepage
npm i -g generate-react-components-export-cli
grcecli
After that the application will ask in which path it should create the file index.ts and that's all (the application will create correctly only export folders)
It will generate (E.g for path src/features/user and folders user-form, user-list, user-details):
File: src/features/user/index.ts With all imports exports')
After that you can import like: import { UserForm, UserList, UserDetails } from "src/features/user
Instead of import UserForm from "src/features/user/user-form etc...
If index.ts exists it will be overwritten
👤 Stanisław Sztrajt
- Github: @stanislawsztrajt
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Give a ⭐️ if this project helped you!
This README was generated with ❤️ by readme-md-generator