dva-nprogress
Nprogress plugin for dva. 👏
Install
$ npm install dva-nprogress --save
Usage
; const app = ;app;
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']