98k-loading 中文文档教程
98k-loading
的加载插件
Install
$ npm install --save 98k-loading
Quick start
98k index.js
import Kar98k from '98k';
import createLoading from '98k-loading';
const app = Kar98k();
app.use(createLoading());
Options
createLoading({
namespace: 'loading' //default to 'loading',
include: ['^example/fetch'], //filter action types, regex enabled, default to empty
exclude: ['^counter/'] //default to empty
})
98k-loading
a loading plugin for 98k
Install
$ npm install --save 98k-loading
Quick start
index.js
import Kar98k from '98k';
import createLoading from '98k-loading';
const app = Kar98k();
app.use(createLoading());
Options
createLoading({
namespace: 'loading' //default to 'loading',
include: ['^example/fetch'], //filter action types, regex enabled, default to empty
exclude: ['^counter/'] //default to empty
})