generate-react-components-export-cli
v1.0.13
Published
Quickly create a react components export with command line
Downloads
4
Readme
Quickly create a react components export with command line
🏠 Homepage
Install
npm i -g generate-react-components-export-cli
Usage
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
Author
👤 Stanisław Sztrajt
- Github: @stanislawsztrajt
🤝 Contributing
Contributions, issues and feature requests are welcome!Feel free to check issues page.
Show your support
Give a ⭐️ if this project helped you!
This README was generated with ❤️ by readme-md-generator