2
0
mirror of https://github.com/tenrok/vue-json-viewer.git synced 2026-06-17 19:21:24 +03:00
This commit is contained in:
陈峰
2018-07-02 17:44:56 +08:00
parent 0a7ff13b8d
commit aea611eacb
2 changed files with 2199 additions and 1500 deletions
+3 -3
View File
@@ -2,7 +2,7 @@
Simple json display component, based on vue
## Installing
## Installing:
Using npm:
```
$ npm install vue-json-viewer
@@ -14,7 +14,7 @@ Using bower:
$ yarn add vue-json-viewer
```
## Example
## Example:
``` html
<json-viewer :value="jsonData" :show-copy="true" icon-prefix="ion" :show-bigger="true"></json-viewer>
@@ -41,7 +41,7 @@ export default {
}
}
```
## Result
## Result:
![ABC](http://oxqqtdux0.bkt.clouddn.com/WX20180702-172158.png)