Fixing Vue3
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
choelzl 2022-03-23 10:12:35 +01:00
parent 26d5916c8a
commit e49982389c
Signed by: sora
GPG Key ID: A362EA0491E2EEA0

View File

@ -74,9 +74,9 @@ const icon_type = (item)=>{
} }
} }
const { createApp } = Vue
const app = createApp({
const app = new Vue({
el: '#app', el: '#app',
data: { data: {
journey_id : window.location.pathname.split('/').pop() || gen_id(16), journey_id : window.location.pathname.split('/').pop() || gen_id(16),
@ -304,5 +304,6 @@ app
.component('l-popup', window.Vue2Leaflet.LPopup) .component('l-popup', window.Vue2Leaflet.LPopup)
.component('l-tooltip', window.Vue2Leaflet.LTooltip) .component('l-tooltip', window.Vue2Leaflet.LTooltip)
.component('l-control-scale', window.Vue2Leaflet.LControlScale) .component('l-control-scale', window.Vue2Leaflet.LControlScale)
.use(window.VueTextareaAutosize)
.component('multiselect', window.VueMultiselect.default); .component('multiselect', window.VueMultiselect.default);
app
.use(window.VueTextareaAutosize);