Skip to content

cryptocode/es6router

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

es6router

Vanilla Javascript router targeting ES6/ECMAScript 2015 and later.

es6router is based on Navigo with the following differences:

  • It's an es6 module so you can import it with import Router from '/router.js';
  • All hash-based support is removed since any browser supporting es6 also supports pushState
  • The root is protocol+host by default
  • The router attribute is app-route instead of data-navigo

About

Vanilla Javascript router targeting ES6/ECMAScript 2015 and later

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published