Why does import Box from '@mui/material/Box'; not work

I’ve added the material UI package and ran the npm install through the terminal. As soon as I add the import line, my preview screen goes blank.

Any suggestions?

I started a new project and slowly installed the packages, added the dependencies to the .json file, and worked through the code on site, instead of doing quick uploads. Not sure what I did wrong, but it seems I need to take my time and code slower while I’m still new to the site.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.