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

/create-func-component/

    Package Sidebar

    Install

    npm i create-func-component

    Weekly Downloads

    0

    Version

    1.0.1

    License

    ISC

    Unpacked Size

    3.07 kB

    Total Files

    4

    Last publish

    Collaborators

    • rajaprabu