/react-typescript-cli

CLI tool for React with Typescript

Primary LanguageJavaScript

react-typescript-cli

CLI tool for React with Typescript

npm

Install

Run

npm install -g generate-react-component

Creating component

Execute command from your components directory

rt <component-name>

Options

Create component with styles (support for Material UI)

-s --styles

Create component with connect

-c --connect

TODO

  • Support for functional components
  • Creating components from src directory