安装yarn
安装依赖: yarn install
In the project directory, you can run:
用开发模式运行app
Runs the app in the development mode.
用交互式监听模式来启动测试
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
生成构建app到build文件夹
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
###配注
启动开发环境后
http://localhost:3000/h5#/home 访问h5主页
http://localhost:3000/admin#/menu 访问后台管理系统