Description
Vue JSON Tree View is a Vue.js component that displays a JSON object as a tree. You put a tree-view element into your HTML where the tree should appear, and pass the JSON to the data prop, which expects a valid JSON object. An options prop controls how the tree is shown, and the README lists its defaults. The maxDepth option sets how many levels of the tree are expanded by default, and accepts an integer from 0 to Infinity. Other options control the root object and related display settings. The component emits an event that the README documents in its Event section. Installation is an npm install step, followed by adding the plugin to your application's JavaScript. The README links a demo on JSFiddle and a blog post that describes how the library was built in six steps.…
Highlights
- Displays JSON as a tree in Vue
- data prop takes a JSON object
- options prop with maxDepth
- Event documented in the README
- npm install and plugin setup
Ratings & Reviews
No ratings yet
Be the first to rate vue-json-tree-view.
People also visit
vue-json-pretty
A JSON tree view component that is easy to use and also supports data selection
vue-json-tree-view FAQ
What does Vue JSON Tree View do?
It shows a JSON object as a tree inside a Vue application.
How do I install it?
Install the plugin with npm, then add it to your application's JavaScript, as the README describes.
How do I control how deep the tree opens?
Use the maxDepth option, which sets how many levels are expanded by default and accepts an integer from 0 to Infinity.
Is there a demo?
Yes. The README links a demo on JSFiddle and a blog post about building the component.
What are the best vue-json-tree-view alternatives?
Popular alternatives to vue-json-tree-view include vue-json-pretty, json-view-cn and vue-tree-navigation. See all vue-json-tree-view alternatives


















