Requires vue@2.6+.

vue-router-lite is a component-based router for Vue.js.

Features include:

  • Component-Based: just use some HOC(Higher-Order Components) to control your routes.
  • Nested routes or mapping routes
  • Modal support
  • Fine-grained navigation control
  • View transition effects powered by Vue.js' transition system
  • Keep Alive
  • Links with automatic active CSS classes
  • HTML5 history mode or hash mode or memory mode
  • Some other features that vue-router and react-router4 can do.

Get started or play with the Examples (see to run them).

Live Examples.