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

chore: readme

This commit is contained in:
风棋
2021-10-31 10:36:02 +08:00
parent c521d0f613
commit 683909e61e
2 changed files with 18 additions and 6 deletions
+9 -3
View File
@@ -2,7 +2,7 @@
[中文版](https://github.com/chenfengjw163/vue-json-viewer/blob/master/README_CN.md)
Simple JSON viewer component, for Vue.js 2.
Simple JSON viewer component, for Vue.js 2 or 3.
Support for incremental update components
@@ -20,12 +20,18 @@ Support for incremental update components
## Installing
Using npm:
```
$ npm install vue-json-viewer --save
$ npm install vue-json-viewer@2 --save
// Vue2
$ npm install vue-json-viewer@3 --save
// Vue3
```
Using yarn:
```
$ yarn add vue-json-viewer
$ yarn add vue-json-viewer@2
// Vue2
$ yarn add vue-json-viewer@3
// Vue3
```
## Example