diff --git a/public/js/main.js b/public/js/main.js index 7162594..478b40c 100644 --- a/public/js/main.js +++ b/public/js/main.js @@ -74,17 +74,15 @@ const icon_type = (item)=>{ } } -Vue - .component('l-map', window.Vue2Leaflet.LMap) - .component('l-tile-layer', window.Vue2Leaflet.LTileLayer) - .component('l-marker', window.Vue2Leaflet.LMarker) - .component('l-icon', window.Vue2Leaflet.LIcon) - .component('l-popup', window.Vue2Leaflet.LPopup) - .component('l-tooltip', window.Vue2Leaflet.LTooltip) - .component('l-control-scale', window.Vue2Leaflet.LControlScale) - .component('multiselect', window.VueMultiselect.default); -Vue - .use(window.VueTextareaAutosize); +Vue.component('l-map', window.Vue2Leaflet.LMap) +Vue.component('l-tile-layer', window.Vue2Leaflet.LTileLayer) +Vue.component('l-marker', window.Vue2Leaflet.LMarker) +Vue.component('l-icon', window.Vue2Leaflet.LIcon) +Vue.component('l-popup', window.Vue2Leaflet.LPopup) +Vue.component('l-tooltip', window.Vue2Leaflet.LTooltip) +Vue.component('l-control-scale', window.Vue2Leaflet.LControlScale) +Vue.component('multiselect', window.VueMultiselect.default) +Vue.use(window.VueTextareaAutosize); const app = new Vue({ el: '#app',