- Notifications
You must be signed in to change notification settings - Fork1
A component-based, declarative router for Vue 2.6+.
License
NotificationsYou must be signed in to change notification settings
ccqgithub/vue-router-lite
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A component-based, declarative router for
vue@2.6+
. Inspired byreact-router@4.x
.
vue-router-lite
is a component-based router forVue.js. ReadDocuments 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 thatvue-router andreact-router4 can do.
# install depsnpm install# build dist filesnpm run build# unit testnpm runtest# serve examples at localhost:8080npm run examples# serve docs at localhost:8080cd docsnpm installnpm run docs
- vue@2.6+: peer dependence, need vue2.6+'s new unified slot syntax.
- history@4.x
- path-to-regexp@3.x
Copyright (c) 2019-presentSeason Chen
About
A component-based, declarative router for Vue 2.6+.
Resources
License
Stars
Watchers
Forks
Packages0
No packages published