You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "zbn1120 (via GitHub)" <gi...@apache.org> on 2025/01/16 08:02:24 UTC
[I] [Feature] 可以从echarts.min.js里面按需引入吗 [echarts]
zbn1120 opened a new issue, #20691:
URL: https://github.com/apache/echarts/issues/20691
### 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
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
Re: [I] [Feature] 可以从echarts.min.js里面按需引入吗 [echarts]
Posted by "echarts-bot[bot] (via GitHub)" <gi...@apache.org>.
echarts-bot[bot] commented on issue #20691:
URL: https://github.com/apache/echarts/issues/20691#issuecomment-2594768592
@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. 🤗
<details><summary><b>TRANSLATED</b></summary><br>
**TITLE**
[Feature] Can it be imported on demand from echarts.min.js?
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org