create-func-component

1.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i create-func-component

Weekly Downloads

1

Version

1.0.1

License

ISC

Unpacked Size

3.07 kB

Total Files

4

Last publish

Collaborators

  • rajaprabu