Skip to content

Commit b003b07

Browse files
committed
docs: add codeflow link
1 parent 89d15a9 commit b003b07

File tree

2 files changed

+20
-7
lines changed

2 files changed

+20
-7
lines changed

README.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
1-
# Vue-ECharts
1+
<h1 align="center">Vue-ECharts</h1>
22

3-
> Vue.js component for Apache ECharts.
3+
<p align="center">Vue.js component for Apache ECharts.</p>
44

5-
> [🇨🇳 中文版](./README.zh-Hans.md)
5+
<p align="center"><a href="https://vue-echarts.dev/">Live Demo</a> · <a href="./README.zh-Hans.md">🇨🇳 中文版</a></p>
6+
<p align="center"><a href="https:///pr.new/ecomfe/vue-echarts"><img alt="Open in Codeflow" src="https://developer.stackblitz.com/img/open_in_codeflow_small.svg"/></a></p>
67

7-
Uses [Apache ECharts](https://echarts.apache.org/en/index.html) 5 and works for both [Vue.js](https://vuejs.org/) 2/3.
8+
---
9+
10+
> Uses [Apache ECharts](https://echarts.apache.org/en/index.html) 5 and works for both [Vue.js](https://vuejs.org/) 2/3.
811
912
## 💡 Heads up 💡
1013

@@ -224,11 +227,13 @@ Drop `<script>` inside your HTML file and access the component via `window.VueEC
224227
<summary>Vue 3 <a href="https://stackblitz.com/edit/vue-echarts-vue-3-global?file=index.html">Demo →</a></summary>
225228

226229
<!-- vue3Scripts:start -->
230+
227231
```html
228232
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
229233
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
230234
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
231235
```
236+
232237
<!-- vue3Scripts:end -->
233238

234239
```js
@@ -244,11 +249,13 @@ app.component('v-chart', VueECharts)
244249
<summary>Vue 2 <a href="https://stackblitz.com/edit/vue-echarts-vue-2-global?file=index.html">Demo →</a></summary>
245250

246251
<!-- vue2Scripts:start -->
252+
247253
```html
248254
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
249255
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
250256
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
251257
```
258+
252259
<!-- vue2Scripts:end -->
253260

254261
```js

README.zh-Hans.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
1-
# Vue-ECharts
1+
<h1 align="center">Vue-ECharts</h1>
22

3-
> Apache ECharts 的 Vue.js 组件。
3+
<p align="center">Apache ECharts 的 Vue.js 组件。</p>
4+
5+
<p align="center"><a href="https://vue-echarts.dev/">在线 Demo</a></p>
6+
<p align="center"><a href="https:///pr.new/ecomfe/vue-echarts"><img alt="在 Codeflow 中打开" src="https://developer.stackblitz.com/img/open_in_codeflow_small.svg"/></a></p>
7+
8+
---
9+
10+
> 使用 [Apache ECharts](https://echarts.apache.org/zh/index.html) 5,同时支持 [Vue.js](https://vuejs.org/) 2/3。
411
5-
使用 [Apache ECharts](https://echarts.apache.org/zh/index.html) 5,同时支持 [Vue.js](https://vuejs.org/) 2/3。
612

713
## 💡 注意 💡
814

0 commit comments

Comments
 (0)