chore: refine readme

This commit is contained in:
Justineo
2023-09-13 12:13:45 +08:00
parent c41d55b054
commit 1a3d7e2004
2 changed files with 6 additions and 6 deletions

View File

@ -24,7 +24,7 @@ Not ready yet? Read documentation for older versions [here →](https://github.c
### npm & ESM ### npm & ESM
```bash ```bash
$ npm install echarts vue-echarts npm install echarts vue-echarts
``` ```
To make `vue-echarts` work for _Vue 2_ (<2.7.0), you need to have `@vue/composition-api` installed: To make `vue-echarts` work for _Vue 2_ (<2.7.0), you need to have `@vue/composition-api` installed:
@ -501,8 +501,8 @@ The following breaking changes are introduced in `vue-echarts@6`:
## Local development ## Local development
```bash ```bash
$ pnpm i pnpm i
$ pnpm serve pnpm serve
``` ```
Open `http://localhost:8080` to see the demo. Open `http://localhost:8080` to see the demo.

View File

@ -25,7 +25,7 @@
### npm & ESM ### npm & ESM
```bash ```bash
$ npm install echarts vue-echarts npm install echarts vue-echarts
``` ```
要在 _Vue 2_<2.7.0下使用 `vue-echarts`需要确保 `@vue/composition-api` 已经安装 要在 _Vue 2_<2.7.0下使用 `vue-echarts`需要确保 `@vue/composition-api` 已经安装
@ -502,8 +502,8 @@ import { THEME_KEY } from 'vue-echarts'
## 本地开发 ## 本地开发
```bash ```bash
$ pnpm i pnpm i
$ pnpm serve pnpm serve
``` ```
打开 `http://localhost:8080` 来查看 demo。 打开 `http://localhost:8080` 来查看 demo。