Let’s start the discussion about How to Install dependencies on react project mui in following methods.
Install dependencies react project material-ui
Roboto font works well with Material-UI, but it is not automatically loaded by Material-UI, therefore you must add it yourself. There are numerous approaches that can be taken. One of the simplest methods is to use Google Web Fonts.
To install Material-UI, run the following command in the root directory of your React project :
npm install @material-ui/core
You can also install material-ui with yarn using :
yarn add @material-ui/core
I hope the strategies listed above work for you. Happy coding and come back again.
Similar Post : How to Install material-ui npm