2
0
mirror of https://github.com/tenrok/vue-json-viewer.git synced 2026-06-20 20:00:37 +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 Simple json display component, based on vue
## Installing ## Installing:
Using npm: Using npm:
``` ```
$ npm install vue-json-viewer $ npm install vue-json-viewer
@@ -14,7 +14,7 @@ Using bower:
$ yarn add vue-json-viewer $ yarn add vue-json-viewer
``` ```
## Example ## Example:
``` html ``` html
<json-viewer :value="jsonData" :show-copy="true" icon-prefix="ion" :show-bigger="true"></json-viewer> <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) ![ABC](http://oxqqtdux0.bkt.clouddn.com/WX20180702-172158.png)
+2196 -1497
View File
File diff suppressed because it is too large Load Diff