Skip to content
Chen Rui edited this page Aug 17, 2017 · 1 revision

Welcome to the react-cli wiki! A simple CLI for scaffolding React.js projects base on Ink.js.

Installation

$ npm install -g reactjs-generator-cli

Usage

$ react-init --help

  Usage
    react-init <project-name>

Create a react-webpack item

$ react-init <project-name>

$ cd <project-name>

$ npm install

$ npm run dev

Example

$ react-init my-react-item

This will generate the project at ./my-react-item/

Extra

  • webpack: webpack-dev-server + react-hot-loader

For more informations, please view Hot Module Replacement

License

MIT © TimRChen

Clone this wiki locally