fingerpich / vue-edit-json

View and edit JSON as an vue component

Home Page:https://fingerpich.github.io/vue-edit-json/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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>

About

View and edit JSON as an vue component

https://fingerpich.github.io/vue-edit-json/


Languages

Language:Vue 80.8%Language:JavaScript 10.4%Language:HTML 8.8%