You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

vue-edit-json

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-edit-json

View and edit JSON as an vue component

1.0.0
Source
npm
Version published
Weekly downloads
52
100%
Maintainers
1
Weekly downloads
 
Created
Source

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>

Example

Keywords

Vue

FAQs

Package last updated on 19 Aug 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts