Closed SacDin closed 6 years ago
you may not have to use import.
here is how I use, it works perfectly. in my main.js
import VueRouter from "vue-router"; require('../node_modules/chart.js/dist/Chart.bundle.min.js') require('../node_modules/hchs-vue-charts/dist/vue-charts.js')
then I can use in any other .vue component without any other actions.
Also see #19
you may not have to use import.
here is how I use, it works perfectly. in my main.js
then I can use in any other .vue component without any other actions.