ali-reactjs

1.1.2 • Public • Published

the reactjs user guide

reactjs show the help of reactjs
reactjs -h: show the help of reactjs
reactjs -ip: change the ref ip in the file
reactjs -i <projectName>: init a project named <projectName>
reactjs -p <pageName>: create one page name <pageName>
reactjs -c <componentName>: create one component name <componentName>
reactjs <componentName>: create one component name <componentName>

the standard proceed

  1. create an empty directory and init the project
    mkdir app-test
    cd app-test
    reactjs -i app-test
  1. install the dependencies for your project
    tnpm install
  1. create the page
    reactjs -p index 
  1. create the component
    reactjs -c item
  1. start your react service and test you page
    gulp service
    //http://idle.h5.m.taobao.com:8080/src/pages/index.htm

Readme

Keywords

Package Sidebar

Install

npm i ali-reactjs

Weekly Downloads

5

Version

1.1.2

License

ALIBABA GROUP

Last publish

Collaborators

  • wenzheng