0.0.10 • Published 2 years ago

generator-create-react-template v0.0.10

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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