@saber2pr/gen-comp
v0.0.1
Published
> generate an component for the react.
Downloads
4
Readme
@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!