Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jgunnison/genjsx
Node CLI React Component Generator
https://github.com/jgunnison/genjsx
cli jsx node react
Last synced: 11 days ago
JSON representation
Node CLI React Component Generator
- Host: GitHub
- URL: https://github.com/jgunnison/genjsx
- Owner: jgunnison
- License: mit
- Created: 2017-02-21T04:36:43.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2021-12-07T16:35:32.000Z (about 3 years ago)
- Last Synced: 2024-10-30T00:05:21.148Z (about 2 months ago)
- Topics: cli, jsx, node, react
- Language: JavaScript
- Size: 6.84 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
##GenJSX - React Component Generator
This is a simple Node CLI tool that lets you generate react components simply through the command-line without needing to set up folders.
###Getting Started
`npm i -g genjsx`Now navigate to your components folder and run the following command.
`genjsx`
This will now prompt you to create a component with a SCSS file and all.
Additionaly you may want to customize this to suit your needs for unit tests or additional component types the code is written with this. Just clone the repo and modify the `src/index.js` file to make additions. The symlink the directory globally with NPM.