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

json-editor-vue

Package Overview
Dependencies
Maintainers
1
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json-editor-vue

A json editor powered by jsoneditor for Vue

  • 0.0.4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
23K
decreased by-0.45%
Maintainers
1
Weekly downloads
 
Created
Source

json-editor-vue / JSON编辑器vue版

preview



Features

  • √ v-model双绑 用户输入、编程式设值都是响应式的
  • √ 约定大于配置 同时提供options参数进行定制化混入
  • √ 动态options options的变化有实时效果
  • √ 失焦时自动修复、格式化json
  • √ 全局安装/单独引入 通用参数支持全局配置



Installation

NPM

$ yarn add json-editor-vue

依赖项:vue

全局引入

import JsonEditorVue from 'json-editor-vue'
Vue.use(JsonEditorVue)

局部引入

import { JsonEditorVue } from 'json-editor-vue'
components: { JsonEditorVue }



Quick Start

<json-editor-vue v-model="value" :options=""/>
参数说明是否支持全局配置类型可选值默认值
value / v-model数据对象Object / Array
optionsjsoneditor配置支持Objecthttps://github.com/josdejong/jsoneditor/blob/master/docs/api.md{ mainMenuBar:false, navigationBar:false, statusBar:false, mode:'code' }

Keywords

FAQs

Package last updated on 16 Oct 2020

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

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