An open API service indexing awesome lists of open source software.

https://github.com/lqsong/dva-antd-reactadmin

基于dvajs的react后台管理
https://github.com/lqsong/dva-antd-reactadmin

Last synced: 7 months ago
JSON representation

基于dvajs的react后台管理

Awesome Lists containing this project

README

          


dva-antd-reactadmin

React 16.*.* admin management system template based on (Dva and Antd).


## Getting started
```bush
# clone the project
git clone https://github.com/lqsong/dva-antd-reactadmin.git

// install dependencies
npm install

// develop
npm run start
```

## Build
```bush
npm run build
```

## Question
##### 1、引入dva后一直存在一个 Warning: Please use `require("history").createHashHistory` instead of `require("history/createHashHistory")`. Support for the latter will be removed in the next major release.
- 找到node_modules中的dva包
- 修改lib/index.js
```
把:
var _createHashHistory = _interopRequireDefault(require("history/createHashHistory"));
修改为:
var _createHashHistory = _interopRequireDefault(require("history").createHashHistory);
```
- 关闭编译器和服务 重新启动就好了

## License
[MIT](http://opensource.org/licenses/MIT)

Copyright (c) 2019-present, www.LiQingSong.cc