Vue and Nuxt 2/3 isomorphic JSON editor, viewer, formatter and validator.
The JSONEditorVue is a versatile Vue component that allows users to view, edit, format, validate, and manipulate JSON data. It offers various features such as different edit modes, support for large JSON documents, compatibility with different versions of Vue, and integration with popular tools and frameworks.
To install the JSONEditorVue component, you can follow these steps:
As of version 0.11, it is no longer necessary to explicitly install vanilla-jsoneditor.
If you want to specify dependency versions, use one of the available installation options:
Vue 3
npm install vue-jsoneditor@0.11.1npm install vue-jsoneditor@0.11.1<script type="module" src="https://unpkg.com/vue-jsoneditor@0.11.1/dist/vue-jsoneditor.es.js"></script><script src="https://unpkg.com/vue-jsoneditor@0.11.1/dist/vue-jsoneditor.min.js"></script>Vue 2.7
npm install vue-jsoneditor@0.11.1npm install vue-jsoneditor@0.11.1<script type="module" src="https://unpkg.com/vue-jsoneditor@0.11.1/dist/vue-jsoneditor.es.js"></script><script src="https://unpkg.com/vue-jsoneditor@0.11.1/dist/vue-jsoneditor.min.js"></script>Vue 2.6 or Earlier
npm install vue-jsoneditor@0.10.1npm install vue-jsoneditor@0.10.1<script type="module" src="https://unpkg.com/vue-jsoneditor@0.10.1/dist/vue-jsoneditor.es.js"></script><script src="https://unpkg.com/vue-jsoneditor@0.10.1/dist/vue-jsoneditor.min.js"></script>Nuxt 3
npm install vue-jsoneditor@0.11.1npm install vue-jsoneditor@0.11.1npm install vue-jsoneditor@0.11.1Nuxt 2 + Vue 2.7
npm install vue-jsoneditor@0.11.1npm install vue-jsoneditor@0.11.1Nuxt 2 + Vue 2.6 or Earlier
npm install vue-jsoneditor@0.10.1npm install vue-jsoneditor@0.10.1Vite
Vue CLI 5 (webpack 5)
Vue CLI 4 (webpack 4)
npm install vue-jsoneditor@0.11.1npm install vue-jsoneditor@0.11.0Vue CLI 3 (webpack 4)
npm install vue-jsoneditor@0.11.0Vue CLI 2 & 1 (webpack 3)
For props and binding values, refer to the documentation for detailed information.
The JSONEditorVue component is a powerful and flexible Vue component for handling JSON data. With its various features such as multiple edit modes, support for large JSON documents, compatibility with different versions of Vue, and seamless integration with popular tools and frameworks, it provides developers with a versatile tool for working with JSON data in Vue applications. Whether you need to view, edit, format, validate, or manipulate JSON, the JSONEditorVue component has you covered.