Closed bagaskarala closed 3 years ago
how to use without
Vue.use()
, i mean i want to use locally inside compnent
You can just import and use it like so:
import panZoom from 'panzoom';
import VuePanZoom from 'vue-panzoom/src/components/pan-zoom/component.vue';
Vue.prototype.$panZoom = panZoom; //this is very important
Vue.component('VuePanZoom', VuePanZoom);
how to use without
Vue.use()
, i mean i want to use locally inside compnent