How to configure in VUE3
xiaoForest opened this issue · 2 comments
xiaoForest commented
Hi
How to configure VUe3 Setup after import
`
import Vue3ChartJs from "@j-t-mcc/vue3-chartjs";
import ChartJsPluginDataLabels from "chartjs-plugin-datalabels";
export default {
components: { Vue3ChartJs, ChartJsPluginDataLabels },
setup(props, content) {
?????
}
}
`
LeeLenaleee commented
xiaoForest commented
@LeeLenaleee Thank you very much, thank you for your pointers.
import Vue3ChartJs from "@j-t-mcc/vue3-chartjs";
import ChartJsPluginDataLabels from "chartjs-plugin-datalabels";
Vue3ChartJs.registerGlobalPlugins([ChartJsPluginDataLabels])