update readme

This commit is contained in:
jiaming743 2019-07-05 16:17:52 +08:00
parent 46da621c70
commit b755a487aa
1 changed files with 22 additions and 2 deletions

View File

@ -1,3 +1,5 @@
[中文](./README_CN.md)
<h1 align="center">DataV</h1> <h1 align="center">DataV</h1>
<p align="center"> <p align="center">
@ -9,7 +11,12 @@
</a> </a>
</p> </p>
<h2 align="center">Vue large screen data display component library</h2> ## What is DataV?
* DataV is a data **visualization** components library based on **Vue**.
* Provide cool **SVG** borders and decorations.
* Provide common **charts** such as line chart, etc..
* flying line chart, carousel table and etc.
### Install with npm ### Install with npm
@ -17,4 +24,17 @@
$ npm install @jiaminghi/data-view $ npm install @jiaminghi/data-view
``` ```
Detailed documents and examples can be viewed on the [HomePage](http://datav.jiaminghi.com). ### use
```js
import Vue from 'vue'
import DataV from '@jiaminghi/data-view'
Vue.use(DataV)
// Introduced on demand
import { borderBox1 } from '@jiaminghi/data-view'
Vue.use(borderBox1)
```
Detailed documents and examples can be viewed on the [HomePage](http://datav.jiaminghi.com).