diff --git a/README.md b/README.md index 19e1ef4..6db8dc0 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Not ready yet? Read documentation for older versions [here →](https://github.c ### npm & ESM ```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: @@ -501,8 +501,8 @@ The following breaking changes are introduced in `vue-echarts@6`: ## Local development ```bash -$ pnpm i -$ pnpm serve +pnpm i +pnpm serve ``` Open `http://localhost:8080` to see the demo. diff --git a/README.zh-Hans.md b/README.zh-Hans.md index 18689a2..8cb5364 100644 --- a/README.zh-Hans.md +++ b/README.zh-Hans.md @@ -25,7 +25,7 @@ ### npm & ESM ```bash -$ npm install echarts vue-echarts +npm install echarts vue-echarts ``` 要在 _Vue 2_(<2.7.0)下使用 `vue-echarts`,需要确保 `@vue/composition-api` 已经安装: @@ -502,8 +502,8 @@ import { THEME_KEY } from 'vue-echarts' ## 本地开发 ```bash -$ pnpm i -$ pnpm serve +pnpm i +pnpm serve ``` 打开 `http://localhost:8080` 来查看 demo。