material ui 적용

Hyor·2022년 8월 19일
0
post-custom-banner

Git
https://github.com/hyoseong1994/material-ui

기본 설치

yarn add @mui/material @emotion/react @emotion/styled

styled components 사용을 위한 설치

yarn add @mui/material @mui/styled-engine-sc styled-components

icon

yarn add @mui/icons-material

viewport, font, icons 설정

    <meta name="viewport" content="initial-scale=1, width=device-width" />
    <link
       rel="stylesheet"
       href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap"
    />
    <link
       rel="stylesheet"
       href="https://fonts.googleapis.com/icon?family=Material+Icons"
    />

참고자료

https://mui.com/material-ui/getting-started/installation/

profile
개발 노트
post-custom-banner

0개의 댓글