dva-nprogress
0.0.4 • Public • Published dva-nprogress
Nprogress plugin for dva. 👏
Install
$ npm install dva-nprogress --save
Usage
import 'nprogress/nprogress.css'
import nprogressDva from 'dva-nprogress';
const app = dva();
app.use(nprogressDva());
Then we can access loading state from store.
opts
opts.types
: property key on action type to animation, type Array, Default ['@@router/CALL_HISTORY_METHOD']
License
MIT
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 0.0.4
11
Version History
Package Sidebar
Install
Weekly Downloads