Vue host app & React remote app #259
Unanswered
JiahuiChen99
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there 👋
Is there a way to host a Vue app and import a React component on it?
I've tested this example project. However, Vue main app needs ReactDOMServer dependency. Also, the fact that it's being exported as a string in Vue, then rendered with v-html directive, the onClick method that I've added doesn't work 😕
Importing a React remote component to a React host does work perfectly. 🤷♀️
Beta Was this translation helpful? Give feedback.
All reactions