1.1.1 • Published 3 years ago
treact-cli v1.1.1
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]