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 and vike-vue in the same app:
- When navigating between React and Vue pages, Client Routing should be disabled while falling back to Server Routing.
- Vike.Config is corrupt (the declaration merging of
vike-react and vike-vue are conflicting). Instead the user needs to stich the types himself.
If you want to use both vike-react and vike-vue write a comment down below explaining why.
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.jsxand+Page.vue.)There are currently two limitations for using
vike-reactandvike-vuein the same app:vike-reactandvike-vueare conflicting). Instead the user needs to stich the types himself.If you want to use both
vike-reactandvike-vuewrite a comment down below explaining why.