-
Clone this repo:
$ git clone https://github.com/ahyiru/react-ui-demo.git
-
Install dependenices:
$ npm i
-
Start the project:
$ npm start //默认端口8000
-
打开浏览器,访问: http://localhost:9000/
-
安装
yrui-init
:$ npm install -g yrui-init
-
创建项目:
$ yrui-init appName
-
安装依赖:
$ cd appName && yarn install
-
运行项目:
$ npm start