generate-react-component-cli v1.3.3
Quickly create a react component with command line
🏠 Homepage
Install
npm i -g generate-react-component-cli
Usage
grccli
After typing "grccli" the language selection will be displayed(the language selection is one-time only) after that the application only asks you what you want the componoent to be called and where you want it to be located. After that the component will be created!
It will generate (E.g for component name task-item and path src/features): Folder: src/features/task-item File: src/features/task/task-item.tsx File: src/features/task/use-task-item.ts (or Task.hook.ts, it depends if folder and file name is kebab case or no) File: src/features/task/task-item.test.tsx File: src/features/task/index.ts
This is really easy to edit, 3 files helpers.js - helpers functions contents.js - contents files cli.js - application
Author
👤 Stanisław Sztrajt
- Github: @stanislawsztrajt
🤝 Contributing
Contributions, issues and feature requests are welcome!Feel free to check issues page. You can also take a look at the contributing guide.
Show your support
Give a ⭐️ if this project helped you!
📝 License
Copyright © 2022 Stanisław Sztrajt. This project is MIT licensed.
This README was generated with ❤️ by readme-md-generator
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago