File tree 2 files changed +15
-3
lines changed
2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -4,12 +4,12 @@ title: Guide
4
4
5
5
## What
6
6
7
- ` G2Plot Vue ` is a chart component set powered by [ ` G2Plot ` ] ( https://g2plot.antv.vision/ ) and developed for ` Vue 3 ` .
7
+ ` G2Plot Vue ` is a chart component set powered by [ ` G2Plot ` ] ( https://g2plot.antv.vision/ ) .
8
8
9
9
## Features
10
10
11
11
- Fully support ` G2Plot ` charts, and will support new chart at first time.
12
- - Developed for ` Vue 3 ` , and easily use.
12
+ - Both ` Vue 2&3 ` support , and easily use.
13
13
- Native support for ` TypeScript ` .
14
14
- ** 100%** unit test coverage
15
15
Original file line number Diff line number Diff line change @@ -5,11 +5,23 @@ heroImage: /logo.png
5
5
actionText : Get Started
6
6
actionLink : /guide/
7
7
features :
8
- - title : Vue
8
+ - title : Both Vue 2&3
9
9
details : Universal support with vue-demi
10
10
- title : G2Plot
11
11
details : Powered by G2Plot
12
12
- title : TypeScript
13
13
details : Fully type definitions support
14
14
footer : MIT Licensed | Copyright © 2020-present Open Data Plan
15
15
---
16
+
17
+ ## Install
18
+
19
+ ```
20
+ npm install @opd/g2plot-vue
21
+ ```
22
+
23
+ ` g2plot-vue ` will auto switch export version based on your installed ` vue ` version, if not work, you can switch by follow:
24
+
25
+ ``` bash
26
+ node ./node_modules/@opd/g2plot-vue/scripts/postinstall.js
27
+ ```
You can’t perform that action at this time.
0 commit comments