0.0.2 • Published 4 years ago

chosan-cli v0.0.2

Weekly downloads
7
License
-
Repository
-
Last release
4 years ago

Introduction

This is a simple react cli.

Install

npm i -g chosan-cli

Usage

then you can create a react project:

1、ssr new react-proj

This command will create a new react project named react-proj.

2、To install dependencies:

cd react-proj

npm i

3、To create a new route:

ssr g route --name=operation/steps/one

this will create a recursive route.

4、To create a new component:

ssr g comp --name=operation/steps/one/dialog

which is alias ssr g component --name=operation/steps/one/dialog

this will just create a component under path: operation/steps/one/

5、To run this project:

npm start

There are more commands waiting for you, come on!