A simple JS router (hash styled & for front-end use) with ajax
How it works
Z-Router watches the hash part of the current url of the browser and displays the corresponding template based on the hash part of the route.
You can pass parameters inside the hash path and use it in the template. It is also possible to add options on the routes, they will also be available in the template.
You can provide to Z-router an inline template or a url for an external template, there is also a template engine that will transform the template before rendering it if needed.
Make it work on your desktop
||Clone the repo on your desktop (don't forget to cd the desired folder before cloning, after cloning open the newly created folder :
||Will install all the dependencies that are needed|
||Watches the changes and browser-sync|
Don't hesitate to fork and pull request. I am very curious to know how to improve it!