akxcv / vuera

:eyes: Vue in React, React in Vue. Seamless integration of the two. :dancers:
MIT License
4.3k stars 242 forks source link

VueWrapper results in empty component #114

Open lotsofone opened 4 years ago

lotsofone commented 4 years ago

I am using vue in react, here are my files: test.vue

<template>
  <div>
    <a>this is vue</a>
  </div>
</template>

testvue.js

import React from 'react'
import { VueWrapper } from 'vuera'
import Test from './test.vue'

export default () => {
    return <div>
        this is react
        <VueWrapper
            component={Test}
            message='Hello from Vue!'
        />
    </div>
}

and then I rendered the Testvue component, but only this is react show up, this is vue is missing

lotsofone commented 4 years ago

Here is an example project to show how I failed https://github.com/lotsofone/try-vue-in-react

fareye-baldeep commented 4 years ago

Any update on the issue? This plugin seems unusable. Can anyone suggest if this works with vue or not? As per the documentation its not working at all.

MayRain1999 commented 3 years ago

https://github.com/timsayshey/vuera-react-vue-demo-app