2
0
mirror of https://github.com/tenrok/vue-json-viewer.git synced 2026-06-20 20:00:37 +03:00

change examples

This commit is contained in:
陈峰
2018-07-02 17:25:09 +08:00
parent 3410c5ea6a
commit cb23336f06
3 changed files with 54 additions and 29 deletions
+39 -1
View File
@@ -1 +1,39 @@
# vue-json-viewer
# vue-json-viewer
简单json展示工具,基于vue框架开发的展示组件
Examples:
安装:
``` cli
npm install vue-json-viewer
```
or
``` cli
yarn add vue-json-viewer
```
使用:
``` js
export default {
name: 'Page',
data() {
return {
jsonData: {
name: [
{key: 2},
{key: 'hello word'},
],
val: {
b: 'a',
a: 'hello word',
asd2: 1,
asd: false
}
}
}
}
}
```