Skip to content

Object(...) is not a function #129

@kaznache

Description

@kaznache

Hi!
I'm trying to use Vue3 component inside Vue2 tool, but I face such error:

image

image

I have a Vue3 project and export only TestComponent from there. This is a simple component that prints only text and expects one string prop. I built the project and copied built file to Vue2 project (because it's too long to publish it) and I'm trying to import Vue3 component there.

image

In Vue3 project I use vue-demi and in Vue2 project I use composition api.

Do you have any thoughts how to fix that error?

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