Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-json-editor

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-json-editor - npm Package Compare versions

Comparing version 1.0.3 to 1.1.0

example/App.vue

0

assets/which files do I need.md

@@ -0,0 +0,0 @@ # Which files do I need?

6

example/main.js
import Vue from 'vue'
import vueJsonEditor from '../vue-json-editor.vue'
import App from './App.vue'
new Vue({
el: '#app',
components: { vueJsonEditor },
components: { App },
render (h) {
return h('vueJsonEditor')
return h('App')
}
})
{
"name": "vue-json-editor",
"version": "1.0.3",
"version": "1.1.0",
"description": "A json editor of vue",

@@ -16,10 +16,9 @@ "main": "vue-json-editor.vue",

"keywords": [
"vue-json-editor",
"vuejsoneditor",
"json-editor",
"jsoneditor",
"json",
"eidtor",
"jsoneditor\u001b[D\u001b[D\u001b[D\u001b[D\u001b[D\u001b[D\u001b[D\u001b[D\u001b[D\u001b[D\u001b[D",
"\u001b[B\u001b[B\u001b[B\u001b[A\u001b[A\u001b[A\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C",
"json-editor",
"vue-json-editor",
"vue",
"jsoneditor"
"vue"
],

@@ -26,0 +25,0 @@ "author": "liuqi41",

@@ -8,3 +8,5 @@ # vue-json-editor

## 组件属性
v-model:必须,组件的json对象
v-model:必须,[json对象]组件的json对象
:showBtns: boolean,是否显示保存按钮,默认为true
@json-change: json发生变化后的事件

@@ -22,3 +24,3 @@ # 怎么使用

<!--在模板中使用vue-json-editor-->
<vue-json-editor v-model="json"></vue-json-editor
<vue-json-editor v-model="json" :showBtns="true" @json-change="onJsonChange"></vue-json-editor
<div>

@@ -40,2 +42,8 @@ </template>

vueJsonEditor
},
methods: {
onJsonChange (value) {
console.log('value:', value)
}
}

@@ -42,0 +50,0 @@ }

@@ -42,3 +42,3 @@ var path = require('path')

contentBase: path.join(__dirname),
port: 80,
port: 8080,
open: true,

@@ -45,0 +45,0 @@ inline: true

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc