vue-edit-json
v1.0.4
Published
View and edit JSON as an vue component
Downloads
220
Readme
Vue-edit-json
View and edit JSON as an vue component
DEMO
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>