1.0.1 • Published 4 years ago
@vimalpatel/react-cli v1.0.1
react-cli
Installation
npm install -g @vimalpatel/react-cli
Usage
Usage: react-cli [command] [arguments]
Options:
-v, --version output the version number
-h, --help output usage information
Commands:
new <name> Create a new React Application
add [options] <name1> [name2...] Add a new component into React Application
help [command] display help for command
Examples
Create new react Application
react-cli new sampleApp
Add new component to existing React application:-
react-cli add header
You can add multiple components at once:-
react-cli add header footer navbar
To add component to particular folder:-
react-cli navbar -fn navigation
To add component to nested folder:-
react-cli navbar -fn common\\navigation