Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

182
Views
Using MUI modern version

According to the mui docs they provide a modern folder with components written for modern browsers which they suggest could be used to target just those browsers. How can I (or do I not need to?) setup webpack so that it rewrites imports of the form import {Box} from "@mui/material" (as advised by option 2 in the docs using babel-plugin-direct-import) to use the modern version? Ideally, without having to change the import in each file to the form import Box from "@mui/material/modern/Box" What about producing a separate version for the modern browsers to serve it to those browsers?

Sorry to ask such a 'how do I' style question, but googling mui and modern wasn't a very productive search :-).

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!