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
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
The text was updated successfully, but these errors were encountered:
@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?
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
The text was updated successfully, but these errors were encountered: