2023-02-04 (토)
특정 페이지에서만 Header와 Footer를 안보이게 하고 싶어서 구글링해봄!
Header와 Footer 컴포넌트에서
if (window.location.pathname === "/안보이게 하고싶은 주소") return null;
위 코드를 적어주면 된다 !