generate-reactjs-component-folder-css-modules
v3.1.0
Published
A script to generate index.js, Component.js, and Component.scss in Component folder.
Downloads
26
Maintainers
Readme
generate-reactjs-component-folder-css-modules
A script to generate index.js, Component.js, and Component.scss in Component folder.
Note: this script is written in es6, so please check with http://node.green/ if your version of node works with it.
Installation
npm install -g generate-reactjs-component-folder-css-modules
yarn global add generate-reactjs-component-folder-css-modules
Usage
gcls ComponentName -> generates this folder structure:
|ComponentName
|-- ComponentName.js
|-- ComponentName.scss
|-- index.js