Skip to content

Commit

Permalink
docs: remove next (#5497)
Browse files Browse the repository at this point in the history
  • Loading branch information
pearmini authored Aug 31, 2023
1 parent 4d6e546 commit 957aead
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ G2 is named after Leland Wilkinson’s book _The Grammar of Graphics_ and was pr
G2 is usually installed via a package manager such as npm or Yarn.

```bash
$ npm install @antv/g2@next
$ npm install @antv/g2
```

```bash
$ yarn add @antv/g2@next
$ yarn add @antv/g2
```

The Chart object then can be imported from G2.
Expand Down
4 changes: 2 additions & 2 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ G2 起源于 Leland Wilkinson 的图形语法:《The Grammar of Graphics》,
可以通过 NPM 或 Yarn 等包管理器来安装。

```bash
$ npm install @antv/g2@next
$ npm install @antv/g2
```

```bash
$ yarn add @antv/g2@next
$ yarn add @antv/g2
```

成功安装之后,可以通过 import 导入 Chart 对象。
Expand Down
6 changes: 3 additions & 3 deletions site/docs/manual/introduction/getting-started.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ order: 3

```bash
# 通过 NPM 安装
npm install @antv/g2@next
npm install @antv/g2
```

```bash
# 通过 Yarn 安装
yarn add @antv/g2@next
yarn add @antv/g2
```

安装成功之后给 G2 提供一个容器:
Expand Down Expand Up @@ -63,7 +63,7 @@ chart.render();
G2 也提供了 UMD 版本,可以直接通过 CDN 加载,然后直接使用。这个时候的 `Chart` 对象可以通过命名空间 `G2` 去访问。

```html
<script src="https://unpkg.com/@antv/g2@next/dist/g2.min.js"></script>
<script src="https://unpkg.com/@antv/g2/dist/g2.min.js"></script>
<script>
// 准备数据
const data = [
Expand Down

0 comments on commit 957aead

Please sign in to comment.