a router plugin for magazine.js
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
History.md
Makefile
Readme.md
component.json
index.js

Readme.md

magazine-router

a clientside router plugin for magazine.js.

Installation

Install with component(1):

$ component install bmcmahen/magazine-router

API

var magazineRouter = require('magazine-router');
magazine.use(magazineRouter, { root : '/url/root/' });

Note: You'll need to redirect all of your server-side routes within the magazine path to the magazine root for external links to work.

License

MIT