프로젝트
GitHub에서 보기
jinkin1995/vue-json-edit
소개
Visual JSON editor built as an vue component. Provides a basic GUI
웹 및 앱 개발측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalVue-Json-Edit
Visual JSON Editor built as an vue component. Provides a basic GUI
DEMO
Getting Started
npm install vue-json-edit --save
Usage
//import it in your project At your entry point
import Vue from 'vue'
import JsonEditor from 'vue-json-edit'
Vue.use(JsonEditor)
Props
- objData: json data
- options
- confirmText: strings of the confirm button
- cancelText: strings of the cancel button
Example
Single file component
<template>
<JsonEditor
:options="{
confirmText: 'confirm',
cancelText: 'cancel',
}"
:objData="jsonData"
v-model="jsonData" >
</JsonEditor>
</template>
<script>
export default {
...
data: function() {
return {
jsonData: {
name: 'mike',
age: 23,
phone: '18552129932',
address: ['AAA C1', 'BBB C2']
}
}
}
}
</script>
..
Aplipay:

USDT:

관련 프로젝트 살펴보기
불러오는 중…