Description
vue-tree-navigation is a Vue.js library for tree-style navigation menus, with optional vue-router support. The menu can have an unlimited number of levels. It can build its items automatically from vue-router routes, using each route's name as the label, or you can define the items by hand. You can set a default open level, and have a level open automatically when its URL is visited. The library focuses on core behavior and includes only the styles it needs. Its elements get meaningful class names, such as NavigationItem--active and NavigationLevel--closed, so you can restyle them. Router support needs vue-router 2.0.0 or higher. You can install the library from npm or include it with a script tag, and the only requirement listed is Vue.js. The project is on GitHub, with a live demo and documentation for more examples.…
Highlights
- Unlimited menu levels
- Items from vue-router routes or defined by hand
- Default open level and auto-open by URL
- Meaningful class names for styling
- Installs from npm or a script tag
Ratings & Reviews
No ratings yet
Be the first to rate vue-tree-navigation.
People also visit
vue-json-pretty
A JSON tree view component that is easy to use and also supports data selection
vue-tree-navigation FAQ
What is vue-tree-navigation?
A Vue.js library for tree navigation menus, with optional vue-router support.
Do I need vue-router?
No. Router support is optional. Without it you define the menu items yourself. With it, the items can be generated from your routes.
How do I install it?
Install it from npm, or include it with a script tag. The README shows both.
Which versions does it need?
The README lists Vue.js as the requirement, and vue-router 2.0.0 or higher for router support.
What are the best vue-tree-navigation alternatives?
Popular alternatives to vue-tree-navigation include vue-navigation-bar, vue-sidebar-menu and vue-json-tree-view. See all vue-tree-navigation alternatives




















