[Vuejs]-Overwrite Default ChartJS Variables with Webpack

0👍

You should be able to change the global settings of ChartJS without doing it in every component.
If you import and change it in one file (for example your main component/page) you can just change the settings as you demonstrated and it will apply to every other component which will import it. Webpack handles this for you.

https://github.com/apertureless/vue-chartjs/issues/234

Leave a comment