1.0.1 • Published 3 years ago

create-func-component v1.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

About

Create Func Component will create react functional component file and css module file.

Installation

$ npm install -g create-func-component

Creating a component

$ cfc rootComponent
$ cfc components/folderComponent

Component folder structure

src
├── components
    ├── FolderComponent.js
    ├── FolderComponent.module.css
├── RootComponent.js
├── RootComponent.module.css
├── app.js
├── index.js

Author

License

MIT