Skip to content

Lmap not working after upgrading vue2 to vue 3 #367

Open
@SnehalDevkar

Description

I'm migrating vue2 project to vue3 with below configuration

"vue": "^3.3.8",
"leaflet": "^1.7.1",
"@vue-leaflet/vue-leaflet": "^0.6.1"

Not getting any issue in the build. But graph is not loading on to the screen and getting below exception in console.

LMap.vue:411 Uncaught (in promise) TypeError: this.$slots.default is not a function
at Proxy.render (LMap.vue:411:32)
at Proxy.compatRender (vue.esm-bundler.js:5072:21)
at renderComponentRoot (vue.esm-bundler.js:2931:16)
at ReactiveEffect.componentUpdateFn [as fn] (vue.esm-bundler.js:9277:26)
at ReactiveEffect.run (vue.esm-bundler.js:521:19)
at instance.update (vue.esm-bundler.js:9336:16)
at callWithErrorHandling (vue.esm-bundler.js:1744:32)
at flushJobs (vue.esm-bundler.js:1952:9)

image

Any help would be greatly appreciated.

Thank you.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions