이전 포스팅까지는 Thymeleaf 의 문법을 위주로 보았다면 이번에는 layout 을 구성하는 방법에 대해서 알아보겠다. 기존에는 tiles를 활용하여 이런 layout을 구성하고는 했는데 Thymeleaf를 사용해서도 가능하다. 다재다능한 녀석이다. Layout 구성을 위해서 일단은 dependency를 하나 추가해줘야한다. pom.xml org.springframework.boot spring-boot-starter-thymeleaf org.springframework.boot spring-boot-starter-web nz.net.ultraq.thymeleaf thymeleaf-layout-dialect thymeleaf-layout-dialect 라는 dependency가 새롭게 추가가 되었다...
비교적 최근에 나온 기술답게 thymeleaf 도 메뉴얼이 아주 훌륭하다. Tutorial: Using Thymeleaf 1 Introducing Thymeleaf 1.1 What is Thymeleaf? Thymeleaf is a modern server-side Java template engine for both web and standalone environments, capable of processing HTML, XML, JavaScript, CSS and even plain text. The main goal of Thymeleaf is to provide a www.thymeleaf.org 거의 모든 내용은 이 안에서 찾을 수 있다. 영어만 잘 하면 정말 훌륭한 개발자가 될수 있을것 같은..