You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<palign="center"><ahref="https:///pr.new/ecomfe/vue-echarts"><imgalt="Open in Codeflow"src="https://developer.stackblitz.com/img/open_in_codeflow.svg"height="28"/></a><ahref="https://codesandbox.io/p/github/ecomfe/vue-echarts"> <imgalt="Edit in CodeSandbox"src="https://assets.codesandbox.io/github/button-edit-lime.svg"height="28"/></a></p>
6
6
7
+
> [!IMPORTANT]
8
+
> We have released an [import code generator](https://vue-echarts.dev/#codegen) that can generate precise import code by pasting the `option` code.
9
+
>
10
+
> [Try it →](https://vue-echarts.dev/#codegen)
11
+
7
12
---
8
13
9
14
<h2>💡 Heads up 💡 <ahref="./README.zh-Hans.md"><imgsrc="https://img.shields.io/badge/%F0%9F%87%A8%F0%9F%87%B3-%E4%B8%AD%E6%96%87%E7%89%88-white?labelColor=white"alt="前往中文版"align="right"height="24"/></a></h2>
@@ -208,7 +213,10 @@ export default {
208
213
209
214
</details>
210
215
211
-
We encourage manually importing components and charts from ECharts for smaller bundle size. See all supported renderers/charts/components [here →](https://github.com/apache/echarts/blob/master/src/echarts.all.ts)
216
+
> [!IMPORTANT]
217
+
> We encourage manually importing components and charts from ECharts for smaller bundle size. We've built an [import code generator](https://vue-echarts.dev/#codegen) to help you with that. You can just paste in your `option` code and we'll generate the precise import code for you.
218
+
>
219
+
> [Try it →](https://vue-echarts.dev/#codegen)
212
220
213
221
But if you really want to import the whole ECharts bundle without having to import modules manually, just add this in your code:
<palign="center"><ahref="https:///pr.new/ecomfe/vue-echarts"><imgalt="Open in Codeflow"src="https://developer.stackblitz.com/img/open_in_codeflow.svg"height="28"/></a><ahref="https://codesandbox.io/p/github/ecomfe/vue-echarts"> <imgalt="Edit in CodeSandbox"src="https://assets.codesandbox.io/github/button-edit-lime.svg"height="28"/></a></p>
0 commit comments