utubun/orange

install mui

utubun opened this issue · 0 comments

Issue

Remove unused libraries. Update react-scripts. Install mui UI framework.

Solution

Libraries to remove

  1. semantic-ui;
  2. 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