cook-react
An interactive commandline tool to create your React projects.
Installing cook-react
Cook-react should be globally installed through npm.
Run npm install -g cook-react
to do this.
Creating a project
cd
to where you want your project to live.
cook-react <project-name>
will start up the creation process.
It will start by creating a new directory for you (based on the argument you passed).
You will now be asked some questions.
- Will you include Twitter Bootstrap? y/N
- Which libraries should be included? ...
Your app will be configured based on what you answer here.
Starting up your project
If you haven't already, then now's a good time to run npm install
, so all necessary dependencies get installed.
Included:
Libraries
By default, these are included
These libraries are optional
State/Data related
HTTP-Clients