-
Notifications
You must be signed in to change notification settings - Fork 668
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
体积问题 #204
Comments
@hongbo-miao |
@weepy3641 谢谢,我在g2那边也新建了个issue。 |
链接到 antvis/G2#364 |
@weepy3641 g2 那边已经支持了!antvis/G2#364 |
请尽快适配,项目上在等着用。。。 |
@hongbo-miao @trexguo |
请问进展如何?使用最新版+require依然没有减小体积。该如何使用? |
@trexguo |
@trexguo @hongbo-miao |
|
@weepy3641 使用版本: 使用方式: Chart = (await import("bizcharts/lib/components/Chart")).default;
Axis = (await import("bizcharts/lib/components/Axis")).default;
Tooltip = (await import("bizcharts/lib/components/Tooltip")).default;
Line = (await import("bizcharts/lib/components/TypedGeom/Line")).default;
Point = (await import("bizcharts/lib/components/TypedGeom/Point")).default; 谢谢。 |
按需加载文档打不开了,按照官网的按需加载,包的体积没有变化。参照官网的链接(https://bizcharts.taobao.com/product/bizcharts/category/12/page/23) |
现在只用到其中一个chart,也会加载整个包(超过500KB),是否有什么办法可以像lodash用哪个,import哪个吗?
谢谢!
The text was updated successfully, but these errors were encountered: