generator-create-react-template

0.0.10 • Public • Published

React Template

Using the Generator

This scaffolding tool is a yeoman generator, and requires that yo be installed. After installing yo, run the following commands.

npm install -g yo

Install the Generator

NPM

npm install -g generator-create-react-template

Yarn

yarn global add generator-create-react-template

Scaffold a New React Template

To begin the scaffolding process:

yo create-react-template

At this stage, you will be prompted to provide the following:

  • Application name, any text of your choosing
  • Yarn, yes or no

With Options

Generate with react:

yo create-react-template --react

with react and antd:

yo create-react-template --react-antd

with react-antd-web3 :

yo create-react-template --react-antd-web3

with react-antd-web3-aelf :

yo create-react-template --react-antd-web3-aelf

The generator will attempt to install dependencies for you by default, though this operation can be disabled:

yo create-react-template --skip-install

Package Sidebar

Install

npm i generator-create-react-template

Weekly Downloads

10

Version

0.0.10

License

MIT

Unpacked Size

6.22 MB

Total Files

396

Last publish

Collaborators

  • mason.huang