You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm in the process of upgrading from chartjsv2 to v4 and chartjs-plugin-annotation v0.5 to v2.0. Trying to slowly replace existing charts in my app with new builds so I wanted to alias the libs and run them side-by-side in order to make the upgrade more modular.
I understand I can alias the libraries with npm but how do I override the chart.js dependecy for chartjs-plugin-annotation to my aliased name?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm in the process of upgrading from chartjsv2 to v4 and chartjs-plugin-annotation v0.5 to v2.0. Trying to slowly replace existing charts in my app with new builds so I wanted to alias the libs and run them side-by-side in order to make the upgrade more modular.
I understand I can alias the libraries with npm but how do I override the chart.js dependecy for chartjs-plugin-annotation to my aliased name?
Beta Was this translation helpful? Give feedback.
All reactions