react-rayr-cli
v0.0.4
Published
A simple CLI for creating your projects
Downloads
21
Readme
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