react cli


Keywords
tsreact, cli, react
License
ISC
Install
npm install treact-cli@1.0.0

Documentation

Typescript React CLI

Links



Overview

treact-cli it's a simple package which will fastify your workflow! With this package you can simple generate components for React and React Native.


Instalation

yarn global add treact-cli

or

npm i -g treact-cli

Usage

To generate component you need to type

treact -g c

And for React Native you need to pass --rn argument

treact -g c --rn

Also you can strong pass component name and styles type

treact -g c --name [name of you component] -s [no | css | scss | styl | less | rn]