3👍
✅
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.
Source:stackexchange.com