update readme

This commit is contained in:
jiaming743 2019-07-31 10:09:35 +08:00
parent d7b6afccfe
commit e108afaccf
2 changed files with 20 additions and 20 deletions

View File

@ -1,4 +1,4 @@
[中文](./README_CN.md) [ENGLISH](./README_EN.md)
<h1 align="center">DataV</h1> <h1 align="center">DataV</h1>
@ -11,20 +11,20 @@
</a> </a>
</p> </p>
## What is DataV? ## DataV是干什么的?
* DataV is a data **visualization** components library based on **Vue**. * DataV是一个基于**Vue**的数据可视化组件库.
* Provide cool **SVG** borders and decorations. * 提供用于提升页面视觉效果的**SVG**边框和装饰.
* Provide common **charts** such as line chart, etc.. * 提供常用的**图表**如折线图等.
* flying line chart, carousel table and etc. * 飞线图/轮播表等其他组件.
### Install with npm ### npm安装
```shell ```shell
$ npm install @jiaminghi/data-view $ npm install @jiaminghi/data-view
``` ```
### use ### 使用
```js ```js
import Vue from 'vue' import Vue from 'vue'
@ -32,9 +32,9 @@ import DataV from '@jiaminghi/data-view'
Vue.use(DataV) Vue.use(DataV)
// Introduced on demand // 按需引入
import { borderBox1 } from '@jiaminghi/data-view' import { borderBox1 } from '@jiaminghi/data-view'
Vue.use(borderBox1) Vue.use(borderBox1)
``` ```
Detailed documents and examples can be viewed on the [HomePage](http://datav.jiaminghi.com). 详细文档及示例请移步[HomePage](http://datav.jiaminghi.com).

View File

@ -1,4 +1,4 @@
[ENGLISH](./README.md) [中文](./README.md)
<h1 align="center">DataV</h1> <h1 align="center">DataV</h1>
@ -11,20 +11,20 @@
</a> </a>
</p> </p>
## DataV是干什么的? ## What is DataV?
* DataV是一个基于**Vue**的数据可视化组件库. * DataV is a data **visualization** components library based on **Vue**.
* 提供用于提升页面视觉效果的**SVG**边框和装饰. * Provide cool **SVG** borders and decorations.
* 提供常用的**图表**如折线图等. * Provide common **charts** such as line chart, etc..
* 飞线图/轮播表等其他组件. * flying line chart, carousel table and etc.
### npm安装 ### Install with npm
```shell ```shell
$ npm install @jiaminghi/data-view $ npm install @jiaminghi/data-view
``` ```
### 使用 ### use
```js ```js
import Vue from 'vue' import Vue from 'vue'
@ -32,9 +32,9 @@ import DataV from '@jiaminghi/data-view'
Vue.use(DataV) Vue.use(DataV)
// 按需引入 // Introduced on demand
import { borderBox1 } from '@jiaminghi/data-view' import { borderBox1 } from '@jiaminghi/data-view'
Vue.use(borderBox1) Vue.use(borderBox1)
``` ```
详细文档及示例请移步[HomePage](http://datav.jiaminghi.com). Detailed documents and examples can be viewed on the [HomePage](http://datav.jiaminghi.com).