View and edit JSON as an vue component
npm install Vue-edit-json --save
//import it in your project At your entry point
import vue from 'vue'
import JsonEditor from 'Vue-edit-json'
Vue.use(JsonEditor)
Pass json data using v-model
or :value
and make it editable using is-edit
attribute as the following code
<JsonEditor is-edit="true" v-model="jsonData" ></JsonEditor>