Skip to content

Error in rendering React component inside Vue: Cannot call a class as a function #21

Open
@tksumanth1994

Description

@tksumanth1994

I want to render a react component inside a Vue Component. I am using this plugin for that. But I'm not able to. Not able to figure out where I'm going wrong. Please help.

This is my Vue component:
vue-component

This is my React component:
react-component

And this is .babelrc file:
babelrc

And I am getting this error: "Cannot call a class as a function"

Thanks!

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