Skip to content

fingerpich/vue-edit-json

Repository files navigation

Vue-edit-json

View and edit JSON as an vue component


Getting Started

npm install Vue-edit-json --save

Usage

//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>