Skip to content

Commit 476efa4

Browse files
committed
fix: add missing type file for 2.7
1 parent 7bcf57e commit 476efa4

File tree

5 files changed

+17
-5
lines changed

5 files changed

+17
-5
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 6.6.7
2+
3+
* Added missing type file for Vue 2.7.
4+
15
## 6.6.6
26

37
* Fixed types for Vue < 2.7.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ Drop `<script>` inside your HTML file and access the component via `window.VueEC
238238
```html
239239
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
240240
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
241-
<script src="https://cdn.jsdelivr.net/npm/[email protected].5"></script>
241+
<script src="https://cdn.jsdelivr.net/npm/[email protected].7"></script>
242242
```
243243
<!-- vue3Scripts:end -->
244244

@@ -258,7 +258,7 @@ app.component('v-chart', VueECharts)
258258
```html
259259
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
260260
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
261-
<script src="https://cdn.jsdelivr.net/npm/[email protected].5"></script>
261+
<script src="https://cdn.jsdelivr.net/npm/[email protected].7"></script>
262262
```
263263
<!-- vue2Scripts:end -->
264264

README.zh-Hans.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ import "echarts";
238238
```html
239239
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
240240
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
241-
<script src="https://cdn.jsdelivr.net/npm/[email protected].5"></script>
241+
<script src="https://cdn.jsdelivr.net/npm/[email protected].7"></script>
242242
```
243243
<!-- vue3Scripts:end -->
244244

@@ -258,7 +258,7 @@ app.component('v-chart', VueECharts)
258258
```html
259259
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
260260
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
261-
<script src="https://cdn.jsdelivr.net/npm/[email protected].5"></script>
261+
<script src="https://cdn.jsdelivr.net/npm/[email protected].7"></script>
262262
```
263263
<!-- vue2Scripts:end -->
264264

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-echarts",
3-
"version": "6.6.6",
3+
"version": "6.6.7",
44
"description": "Vue.js component for Apache ECharts.",
55
"author": "GU Yiling <[email protected]>",
66
"scripts": {

rollup.vue2.config.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@ const options = [
99
file: "dist/index.vue2.d.ts",
1010
format: "esm"
1111
}
12+
},
13+
{
14+
input: "src/index.vue2_7.d.ts",
15+
plugins: [dts()],
16+
output: {
17+
file: "dist/index.vue2_7.d.ts",
18+
format: "esm"
19+
}
1220
}
1321
];
1422

0 commit comments

Comments
 (0)