SpringBoot With JPA 게시판 만들기 - 06 머스태치
view 페이지인 머스태치 설정을 해보도록 하겠습니다. 사진을 참고해서 해당 디렉토리에 파일들을 생성해주세요 resources/templates/layout/header.mustache resources/templates/layout/footer.mustache resources/templates/layout/index.mustache 우선 아래의 코드를 복붙해주세요 header.mustache footer.mustache index.mustache {{>layout/header}} hi {{>layout/footer}} {{>layout/header}}는 머스태치 문법으로 {{>}}는 현재 머스태치 파일을 기준으로 다른 파일을 가져 옵니다. 즉 header 코드 + hi + footer코드 이런식으로 ..