プロジェクト
GitHubで見る
jinkin1995/vue-json-edit
概要
Visual JSON editor built as an vue component. Provides a basic GUI
Web・アプリ開発計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 0
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルVue-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:

関連プロジェクトを探す
読み込み中…