// with npm
npm install @mui/material @emotion/react @emotion/styled
// with yarn
yarn add @mui/material @emotion/react @emotion/styled
npm i @material-ui/core
// material icon
npm i @material-ui/icons
npm install @mui/material
yarn add @material-ui/core
npm install @material-ui/core
$ npm install @material-ui/core
import React from 'react';
import { Button } from '@material-ui/core';
export default function App() {
return <Button variant="contained" color="primary">Hello World</Button>
}
// with npm
npm install @material-ui/core
// with yarn
yarn add @material-ui/cor
npm install @mui/material - v5
to install mui
npm install @mui/material @emotion/react @emotion/styled
$ npm install @material-ui/core
//You´re welcome.
// npm
npm install @mui/material @emotion/react @emotion/styled
// yarn
yarn add @mui/material @emotion/react @emotion/styled
import * as React from 'react';
import ReactDOM from 'react-dom';
import Button from '@mui/material/Button';
function App() {
return <Button variant="contained">Hello World</Button>;
}
ReactDOM.render(<App />, document.querySelector('#app'));
1
2
3
4
5
6
7
8
9
if you love ur life, dont do it... trust me