Mercury RouterComponent
This is a mercury router component from Raynos : https://gist.github.com/adbf7951bee3fdfe1a65
Mercury is a FRP JS framework based on the idea of tiny modules: https://github.com/Raynos/mercury
Install
npm install mercury-router
API
Mecury Router looks for two state attributes:
- base: This attribute defines the base route of the router
- route: This attribute defines the current/default route
Usage
var mercury = ;var h = h;var anchor = ;var routeView = ;var Router = ;{var state = mercury;return state;}mercury;{return}{return}
Credits
Created By @Raynos Tests By @nikuda
LICENSE
see LICENSE