mirror of
https://github.com/tenrok/vue-json-viewer.git
synced 2026-06-23 20:40:38 +03:00
chore: readme
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
[中文版](https://github.com/chenfengjw163/vue-json-viewer/blob/master/README_CN.md)
|
[中文版](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
|
Support for incremental update components
|
||||||
|
|
||||||
@@ -20,12 +20,18 @@ Support for incremental update components
|
|||||||
## Installing
|
## Installing
|
||||||
Using npm:
|
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:
|
Using yarn:
|
||||||
```
|
```
|
||||||
$ yarn add vue-json-viewer
|
$ yarn add vue-json-viewer@2
|
||||||
|
// Vue2
|
||||||
|
$ yarn add vue-json-viewer@3
|
||||||
|
// Vue3
|
||||||
```
|
```
|
||||||
|
|
||||||
## Example
|
## Example
|
||||||
|
|||||||
+9
-3
@@ -1,6 +1,6 @@
|
|||||||
# vue-json-viewer
|
# vue-json-viewer
|
||||||
|
|
||||||
简单易用的json内容展示组件,支持vue@2.0+,支持SSR,组件支持增量渲染即使大文件json也可以快速渲染。
|
简单易用的json内容展示组件,支持vue@2和3,支持SSR,组件支持增量渲染即使大文件json也可以快速渲染。
|
||||||
|
|
||||||
[](https://travis-ci.org/chenfengjw163/vue-json-viewer)
|
[](https://travis-ci.org/chenfengjw163/vue-json-viewer)
|
||||||
[](https://www.npmjs.com/package/vue-json-viewer)
|
[](https://www.npmjs.com/package/vue-json-viewer)
|
||||||
@@ -14,12 +14,18 @@
|
|||||||
## 安装
|
## 安装
|
||||||
使用 npm:
|
使用 npm:
|
||||||
```
|
```
|
||||||
$ npm install vue-json-viewer --save
|
$ npm install vue-json-viewer@2 --save
|
||||||
|
// Vue2
|
||||||
|
$ npm install vue-json-viewer@3 --save
|
||||||
|
// Vue3
|
||||||
```
|
```
|
||||||
|
|
||||||
使用 yarn:
|
使用 yarn:
|
||||||
```
|
```
|
||||||
$ yarn add vue-json-viewer
|
$ yarn add vue-json-viewer@2
|
||||||
|
// Vue2
|
||||||
|
$ yarn add vue-json-viewer@3
|
||||||
|
// Vue3
|
||||||
```
|
```
|
||||||
|
|
||||||
## 示例
|
## 示例
|
||||||
|
|||||||
Reference in New Issue
Block a user