docs: add codeflow link

This commit is contained in:
Justineo
2023-02-02 15:15:19 +08:00
parent 89d15a9ee3
commit b003b07222
2 changed files with 20 additions and 7 deletions

View File

@ -1,10 +1,13 @@
# Vue-ECharts
<h1 align="center">Vue-ECharts</h1>
> Vue.js component for Apache ECharts.
<p align="center">Vue.js component for Apache ECharts.</p>
> [🇨🇳 中文版](./README.zh-Hans.md)
<p align="center"><a href="https://vue-echarts.dev/">Live Demo</a> · <a href="./README.zh-Hans.md">🇨🇳 中文版</a></p>
<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>
Uses [Apache ECharts](https://echarts.apache.org/en/index.html) 5 and works for both [Vue.js](https://vuejs.org/) 2/3.
---
> Uses [Apache ECharts](https://echarts.apache.org/en/index.html) 5 and works for both [Vue.js](https://vuejs.org/) 2/3.
## 💡 Heads up 💡
@ -224,11 +227,13 @@ Drop `<script>` inside your HTML file and access the component via `window.VueEC
<summary>Vue 3 <a href="https://stackblitz.com/edit/vue-echarts-vue-3-global?file=index.html">Demo →</a></summary>
<!-- vue3Scripts:start -->
```html
<script src="https://cdn.jsdelivr.net/npm/vue@3.2.45"></script>
<script src="https://cdn.jsdelivr.net/npm/echarts@5.4.1"></script>
<script src="https://cdn.jsdelivr.net/npm/vue-echarts@6.5.2"></script>
```
<!-- vue3Scripts:end -->
```js
@ -244,11 +249,13 @@ app.component('v-chart', VueECharts)
<summary>Vue 2 <a href="https://stackblitz.com/edit/vue-echarts-vue-2-global?file=index.html">Demo →</a></summary>
<!-- vue2Scripts:start -->
```html
<script src="https://cdn.jsdelivr.net/npm/vue@2.7.14"></script>
<script src="https://cdn.jsdelivr.net/npm/echarts@5.4.1"></script>
<script src="https://cdn.jsdelivr.net/npm/vue-echarts@6.5.2"></script>
```
<!-- vue2Scripts:end -->
```js

View File

@ -1,8 +1,14 @@
# Vue-ECharts
<h1 align="center">Vue-ECharts</h1>
> Apache ECharts 的 Vue.js 组件。
<p align="center">Apache ECharts 的 Vue.js 组件。</p>
<p align="center"><a href="https://vue-echarts.dev/">在线 Demo</a></p>
<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>
---
> 使用 [Apache ECharts](https://echarts.apache.org/zh/index.html) 5同时支持 [Vue.js](https://vuejs.org/) 2/3。
使用 [Apache ECharts](https://echarts.apache.org/zh/index.html) 5同时支持 [Vue.js](https://vuejs.org/) 2/3。
## 💡 注意 💡