decoupled-data-json
v0.1.0
Published
JSON data-source for Decoupled
Downloads
1
Readme
decoupled-data-json
JSON data-source for decoupled
Usage
In config/SITE/router.js
use:
import { decoupledJsonHandler } from 'decoupled-data-json';
module.exports.router = {
routes: [
{
method: 'GET',
route: '(.*)',
handler: decoupledJsonHandler,
},
]
};