plainheart commented on issue #21086:
URL: https://github.com/apache/echarts/issues/21086#issuecomment-4001712915

   @HelenaMohnatska Thank you for sharing the demo project! It is very helpful. 
I believe this build error has been fixed in the incoming v6.1.0 (PR #21411), 
and as a workaround, also as a recommended approach, you can try the on-demand 
imports like this:
   
   ```js
   import * as echarts from 'echarts/core';
   import { TitleComponent, TooltipComponent, LegendComponent } from 
'echarts/components';
   import { PieChart } from 'echarts/charts'
   import { CanvasRenderer } from 'echarts/renderers'
   
   echarts.use([
     CanvasRenderer,
     TitleComponent,
     TooltipComponent,
     LegendComponent,
     PieChart
   ])
   ```


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to