Skip to content

[migration] How to solve conflict between my project using v5 and third-party packages using v4? #31211

Closed
@RandyLiu6410

Description

@RandyLiu6410

My project has just been updated to Mui v5 (https://mui.com/). And one of used package react-page (https://github.com/react-page/react-page) in the project uses Mui v4 (https://v4.mui.com/). And some conflicts just showed up. When I use the module importing the react-page, the style sheet of mui v4 covered the current style sheet of mui v5. How can I prevent mui v4 from covering all style sheets and make sure mui v5 is still working as before?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions