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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    1
  • 1.0.0
    1

Package Sidebar

Install

npm i create-func-component

Weekly Downloads

2

Version

1.0.1

License

ISC

Unpacked Size

3.07 kB

Total Files

4

Last publish

Collaborators

  • rajaprabu