Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] 可以从echarts.min.js里面按需引入吗 #20691

Open
zbn1120 opened this issue Jan 16, 2025 · 1 comment
Open

[Feature] 可以从echarts.min.js里面按需引入吗 #20691

zbn1120 opened this issue Jan 16, 2025 · 1 comment
Labels
new-feature pending We are not sure about whether this is a bug/new feature.

Comments

@zbn1120
Copy link

zbn1120 commented Jan 16, 2025

What problem does this feature solve?

react项目使用echarts按需引入,打包时排除了echarts依赖,在产物中有require("echarts/core")的类似。在使用项目时,提供echarts.min.js作为echarts环境,显示无法找到core.js等报错。
In a React project using ECharts with on-demand imports, the ECharts dependency was excluded during the build process. However, the output still contains statements like require("echarts/core"). When using the project, providing echarts.min.js as the ECharts environment results in errors indicating that core.js cannot be found.

What does the proposed API look like?

11

@echarts-bot echarts-bot bot added the pending We are not sure about whether this is a bug/new feature. label Jan 16, 2025
Copy link

echarts-bot bot commented Jan 16, 2025

@zbn1120 It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗

TRANSLATED

TITLE

[Feature] Can it be imported on demand from echarts.min.js?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-feature pending We are not sure about whether this is a bug/new feature.
Projects
None yet
Development

No branches or pull requests

1 participant