-
-
Notifications
You must be signed in to change notification settings - Fork 352
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using both vike-react
and vike-vue
in the same project
#1813
Comments
Well, I would say that for me it's not a truly necessary feature, but a nice-to-have for the following reasons/use cases:
Regarding routing limitations -- I don't know so far how it's solved in Vike, but it can be solved the same way router knows that a particular link is external (and should be handled by regular browser navigation) or can be handled by the client side router. And just to clarify, I wouldn't have opened this issue, if the documentation didn't claim it is possible. |
Makes sense, I just removed it.
Yea, exactly, we're currently focused on the v1.0.0 release and a couple of other higher priorities. That said, providing a solution for the routing issue is very much on the radar (it's also usefull for other use cases). And the typing issue is relatively easy to solve. (If someone needs this and is willing to sponsor, then we're definitely open to bump the priority.) |
In principle, and as stated in the documentation, it's possible to use both React and Vue (or any other UI framework) for the same project.
This should already work today with a custom React/Vue integration. (Although note that, until this issue is fixed, you'll need to use Server Routing if you plan to have both
+Page.jsx
and+Page.vue
.)There are currently two limitations for using
vike-react
andvike-vue
in the same app:vike-react
andvike-vue
are conflicting). Instead the user needs to stich the types himself.If you want to use both
vike-react
andvike-vue
write a comment down below explaining why.The text was updated successfully, but these errors were encountered: