Fluxible Plugin FetchrFluxible 应用插件
Fluxible Plugin Fetchr 是用于为 RESTful 服务提供同构接口的 Fluxible 应用插件。
示例代码:
var Fluxible = require('fluxible');
var fetchrPlugin = require('fluxible-plugin-fetchr');
var app = new Fluxible();
app.plug(fetchrPlugin({
xhrPath: '/api' // Path for XHR to be served from}));评论
