reactant-cli
v0.122.0
Published
A command line interface for Reactant
Downloads
210
Readme
reactant-cli
A command line interface for Reactant
Usage
- Create a Reactant project:
npx reactant-cli init my-app
- Generate a service file:
npx reactant-cli generate service Foo
# or
npx reactant-cli g s FooBarView
- Generate a view file:
npx reactant-cli generate view FooBarView
# or
npx reactant-cli g v FooBarView
Global installation
We recommend you install reactant-cli
globally to use it.
npm install -g reactant-cli
or you can install reactant-cli
to your project.
yarn add -D reactant-cli
You can visit reactant.js.org for more documentation.