A component-based, declarative router for
[email protected]+
. Inspired by[email protected]
.
vue-router-lite
is a component-based router for Vue.js.
Features include: Read Live Docs for more details.
- 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.
# install deps
npm install
# build dist files
npm run build
# serve examples at localhost:8080
npm run examples
# serve docs at localhost:8080
cd docs
npm install
npm run docs
- [email protected]+: peer dependence, need vue2.6+"s new unified slot syntax.
- [email protected]
- [email protected]
Copyright (c) 2019-present Season Chen