webpackSVG is used when packaging css, so SVG must be wrapped in double quotation marks.
But MUI defaults to single quotation marks, so errors occur when packaged with web packages.
Here, find the mui. CSS file, use the uncompressed version, so that it is better to find the location of SVG using double quotation marks, web pack will compress CSS after packaging.
Replace single quotation marks at the beginning and end with double quotation marks
Open the / dist / index. HTML file and display it properly.