Skip to content

Saber2pr/gen-comp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@saber2pr/gen-comp

generate an component for the react.

# from npm
npm install @saber2pr/gen-comp

# from github
git clone https://github.com/Saber2pr/gen-comp.git

Usage

genComp <components-dir> <component-name>

genComp src/components myComp
genComp src/components myComp1 myComp2

npx @saber2pr/gen-comp src/components myComp

start

npm install
npm start

npm test

npm run app

Author: saber2pr


develope and test

you should write ts in /src

you should make test in /src/test

export your core in /src/index.ts!

About

> generate a component for the react.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published