vuera icon indicating copy to clipboard operation
vuera copied to clipboard

Combine React-in-Vue with typescript

Open NeleR opened this issue 6 years ago • 4 comments

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.

NeleR avatar Jun 04 '19 10:06 NeleR

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

xiaolannuoyi avatar Oct 22 '19 03:10 xiaolannuoyi

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!

andershoedholt avatar Jan 11 '21 17:01 andershoedholt

i have the same problem in ts

wangi4myself avatar Aug 13 '21 02:08 wangi4myself

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

tachyon-ops avatar Mar 09 '23 10:03 tachyon-ops