akxcv / vuera

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

Combine React-in-Vue with typescript #84

Open NeleR opened 5 years ago

NeleR commented 5 years ago

I've got a working Vue application with a React component inside: https://codesandbox.io/embed/use-a-react-component-inside-a-vue-application-ew1s8. (thanks to https://medium.com/@cedricmckinnie/using-react-components-directly-in-vue-components-with-or-without-typescript-part-2-full-ccf7225b4304)

Now I'd like to add typescript to the application, but I cannot figure out how to get this working. Here's my best try: https://codesandbox.io/embed/use-a-react-component-inside-a-vue-application-typescript-s7vtv But, as you can see, the React component is no longer displayed.

xiaolannuoyi commented 5 years ago

Hello, I have the same problem. Have you solved it?

andershoedholt commented 3 years ago

Did anyone find a solution to this? It’s working very well with regular React components, but I get compile errors every time I add a TypeScript React component (I already added TypeScript support to my Vue project). Thanks!

wangi4myself commented 3 years ago

i have the same problem in ts

tachyon-ops commented 1 year ago

For me the component gets displayed. Perhaps after years this got fixed.