Skip to content

Latest commit

 

History

History
55 lines (22 loc) · 764 Bytes

README.md

File metadata and controls

55 lines (22 loc) · 764 Bytes

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

read run-locally.txt file