0.0.4 • Published 6 years ago

react-rayr-cli v0.0.4

Weekly downloads
5
License
MIT
Repository
github
Last release
6 years ago

A simple utility to quickly generate React Unit Component projects in an easy way.

Introduction

目前组件只生成单一的react元组件

Installation

npm install react-rayr-cli -g

Basic usage

rayr -V

Generate react component projects

rayr init

name(demo): xxxx //Component name
author:(lilei):  xxxx  //author name

项目目录(react-rayr-xxx)

cd react-rayr-demo

npm start  //example dev

or

npm build