This project was bootstrapped with Create React App.
React 16 + react-router4 + sass + eslint-config-alloy + webpack 4
运行
$ npm start
打包
$ npm run build
目录
my-app
├── README.md
├── node_modules
├── package.json
├── .gitignore
├── .eslintrc.js
├── scripts
├── public
│ ├── favicon.ico
│ ├── index.html
│ └── manifest.json
└── src
├── assets # 静态资源
├── components # 组件
├── config # 配置文件
├── containers # 容器
├── store # store
├── reducers # reducers
├── style # 基础公共样式
├── index.js # 入口
├── utils # 工具
├── templates # 模版(用来提供给rd)
├──routes.js # 虚拟路由
└── serviceWorker.js
访问地址