Skip to content

Commit 14b7b05

Browse files
committed
docs: update docs
1 parent 4a558bd commit 14b7b05

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

docs/guide/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ title: Guide
44

55
## What
66

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/).
88

99
## Features
1010

1111
- 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.
1313
- Native support for `TypeScript`.
1414
- **100%** unit test coverage
1515

docs/index.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,23 @@ heroImage: /logo.png
55
actionText: Get Started
66
actionLink: /guide/
77
features:
8-
- title: Vue
8+
- title: Both Vue 2&3
99
details: Universal support with vue-demi
1010
- title: G2Plot
1111
details: Powered by G2Plot
1212
- title: TypeScript
1313
details: Fully type definitions support
1414
footer: MIT Licensed | Copyright © 2020-present Open Data Plan
1515
---
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+
```

0 commit comments

Comments
 (0)