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.2 to 1.0.3

2

package.json
{
"name": "vue-json-editor",
"version": "1.0.2",
"version": "1.0.3",
"description": "A json editor of vue",

@@ -5,0 +5,0 @@ "main": "vue-json-editor.vue",

# vue-json-editor
A jsoneditor of vue.js
## dependencies
## 依赖
vue.js
# How to use
## 1. Install the editor
In the directory of your vue project, just run:
## 组件属性
v-model:必须,组件的json对象
# 怎么使用
## 1. 使用npm安装vue-json-editor
```
npm install vue-json-editor
npm install vue-json-editor --save
```
## 2. Use it in your vue component
## 2. 在vue组件中使用vue-json-editor
```
<template>
<div>
<p>vue-json-editor使用</p>
<!--在模板中使用vue-json-editor-->
<vue-json-editor v-model="json"></vue-json-editor
<div>
</template>
<script>
// 引入vue-json-editor模块
import vueJsonEditor from 'vue-json-editor'
export default {
data () {
json: {
msg: 'demo of jsoneditor'
}
},
// 注入vueJsonEditor组件
components: {
vueJsonEditor
}
}
</script>
```
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