Skip to content

Using both vike-react and vike-vue in the same project #1813

@brillout

Description

@brillout

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions