Skip to content

ccqgithub/vue-router-lite

Repository files navigation

vue-route-lite

A component-based, declarative router for vue@2.6+. Inspired by react-router@4.x.

Introduction

vue-router-lite is a component-based router for Vue.js. Read Documents for more details.

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.

Doccuments And Examples

Development Setup

# install deps
npm install

# build dist files
npm run build

# unit test
npm run test

# serve examples at localhost:8080
npm run examples

# serve docs at localhost:8080
cd docs
npm install
npm run docs

Inspired By

Dependences

License

MIT

Copyright (c) 2019-present Season Chen

About

A component-based, declarative router for Vue 2.6+.

Resources

License

Stars

Watchers

Forks

Packages

No packages published