+-- dist/ ---打包的文件目录
+-- node_modules/ ---npm下载文件目录
+-- src/ ---核心代码目录
| +-- react ---react库
| +-- react-dom ---react-dom库
| +-- index.js ---入口js文件
--- index.html ---首页入口html文件
--- package.json ---项目依赖配置文件
1.如果没有node环境,请先安装Node,建议安装Node 7.6以上版本,不支持Node4以及更低版本
2.安装包管理工具npm或者yarn, 安装node自带有npm工具
npm install -g yarn
3.clone项目到本地
git clone https://github.com/BlaStone/simple-react.git
4.安装依赖
yarn install
5.启动服务
yarn start