0.4.0 • Published 5 years ago

cube-component v0.4.0

Weekly downloads
4
License
ISC
Repository
github
Last release
5 years ago

Installation

Using yarn

$ yarn add cube-component

Using npm

$ npm i cube-component

Options

--name optional: Component name

--template optional: Defined template name

Available templates

component-reselect-styled-connect

Usage

Create a component together with built in questions

$ cube-component

enter image description here

Create a component with name 'MyComponent' using the redux,reselect, styled component files structure

$ cube-component --name MyComponent --template component-reselect-styled-connect

TODO

  • Support dashed file name i.e my-cool-component.js

  • Typescript???

  • Add more templates

Contribute