Framework agnostic front-end router based on store pattern http://router.maniak.pro
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
373 B

<html>
<body>
<script src='https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.4/lodash.min.js'></script>
<script src='https://unpkg.com/pro-router@3.2.0/pro-router-standalone.min.js'></script>
<script>
window.render = function(){ console.log(R.view); console.log(JSON.stringify(R.params)) }
R.init({helpers: _})
</script>
</body>
</html>