diff --git a/plugins/v-mapbox.ts b/plugins/v-mapbox.ts new file mode 100644 index 00000000..68c0fdc6 --- /dev/null +++ b/plugins/v-mapbox.ts @@ -0,0 +1,14 @@ +import { + MglGeojsonLayer, + MglMap, + MglMarker, + MglPopup, + MglScaleControl, +} from 'v-mapbox'; +import Vue from 'vue'; + +Vue.component('MglMap', MglMap); +Vue.component('MglGeojsonLayer', MglGeojsonLayer); +Vue.component('MglScaleControl', MglScaleControl); +Vue.component('MglMarker', MglMarker); +Vue.component('MglPopup', MglPopup);