install mui
utubun opened this issue · 0 comments
utubun commented
Issue
Remove unused libraries. Update react-scripts. Install mui UI framework.
Solution
Libraries to remove
semantic-ui
;swagger-ui-react
;
Libraries to update
Update reactpscripts
to version 5.0.1
(downgraded because of semantic-ui
incompartibility.
Libraries to install
Default installation
npm install @mui/material @emotion/react @emotion/styled
Roboto font
npm install @fontsource/roboto
Import Roboto font to the project entry point
import '@fontsource/roboto/300.css';
import '@fontsource/roboto/400.css';
import '@fontsource/roboto/500.css';
import '@fontsource/roboto/700.css';
Install icons
npm install @mui/icons-material