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后台管理
- Host: GitHub
- URL: https://github.com/lqsong/dva-antd-reactadmin
- Owner: lqsong
- Created: 2019-08-02T06:19:37.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-08-17T08:10:58.000Z (about 6 years ago)
- Last Synced: 2025-01-09T06:49:34.991Z (9 months ago)
- Language: JavaScript
- Size: 281 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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