개발/Spring Boot 학습

View Layout

RainyJune 2023. 3. 2. 12:14

View Layout이란

  • 웹 페이지의 화면 구성
  • 대표적인 Layout 구성은 Header-Footer Layout
  • Layout 파일은 자주 사용하는 화면 구성 등을 정의해두고 사용한다.
  • Mustache에서 Layout을 불러올 때는 아래와 같이 적용한다.
{{>layout_name}}

View Layout의 위치

src > main > resources > templates > layouts

 

'개발 > Spring Boot 학습' 카테고리의 다른 글

null value was assigned to a property [...] of primitive type  (0) 2023.05.02
글쓰기 페이지  (0) 2023.03.02
View Template, MVC  (0) 2023.02.23
개발 환경 및 Project 생성  (0) 2023.02.23
Sprint Boot 학습  (0) 2023.02.23