Skip to content

Commit

Permalink
docs: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Justineo committed Apr 22, 2024
1 parent e189abd commit 34defec
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,9 +236,9 @@ Drop `<script>` inside your HTML file and access the component via `window.VueEC

<!-- vue3Scripts:start -->
```html
<script src="https://cdn.jsdelivr.net/npm/[email protected].19"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].23"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].9"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].10"></script>
```
<!-- vue3Scripts:end -->

Expand All @@ -258,7 +258,7 @@ app.component('v-chart', VueECharts)
```html
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].9"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].10"></script>
```
<!-- vue2Scripts:end -->

Expand Down
6 changes: 3 additions & 3 deletions README.zh-Hans.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,9 +236,9 @@ import "echarts";

<!-- vue3Scripts:start -->
```html
<script src="https://cdn.jsdelivr.net/npm/[email protected].19"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].23"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].9"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].10"></script>
```
<!-- vue3Scripts:end -->

Expand All @@ -258,7 +258,7 @@ app.component('v-chart', VueECharts)
```html
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].9"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].10"></script>
```
<!-- vue2Scripts:end -->

Expand Down
2 changes: 1 addition & 1 deletion scripts/docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function resolvePath(...parts) {
const CDN_PREFIX = "https://cdn.jsdelivr.net/npm/";

const DEP_VERSIONS = {
"vue@3": "3.4.19",
"vue@3": "3.4.23",
"vue@2": "2.7.16",
echarts: "5.4.3",
[name]: version
Expand Down

0 comments on commit 34defec

Please sign in to comment.