yarn import material ui code example
Example 1: yarn add material ui
// with npm
npm install @material-ui/core
// with yarn
yarn add @material-ui/core
Example 2: yarn add @materialui
$ yarn add @material-ui/core
// with npm
npm install @material-ui/core
// with yarn
yarn add @material-ui/core
$ yarn add @material-ui/core