I use library:
https://www.npmjs.com/package/react-chartjs-2
https://www.npmjs.com/package/chart.js
i am building in the direction of the library, the 2 above will be thrown into the shared project (self-made library). But when calling another project to use this one, there is an error.
if you put the same context, calling the 2 libraries above directly in a project, it runs normally.
but using through the library project like this, there is an error
if you put the same context, calling the 2 libraries above directly in a project, it runs normally.
Tuan20P is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.