score:3

Accepted answer

chart.js 3 is tree-shakeable, so it is necessary to import and register the controllers, elements, scales and plugins you are going to use.

please take a look at bundlers (webpack, rollup, etc.) from the chart.js documentation.


Related Query

More Query from same tag