Skip to content

bootstrap react components with community defined templates

Notifications You must be signed in to change notification settings

Lufedi/cube-component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

bootstrap react components with community defined templates

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published