Exception
[Thyemleaf] Thymeleaf Layout Dialect 에서 layout:decorator 가 제대로 작동되지 않는 오류
헤르메스의날개
2022. 3. 9. 23:40
728x90
layout:decorator 를 아무리 찾아봐도, 최근 소스를 참조해도..
전부 layout:decorator 를 사용하더군요.. ^^;;
layout:decorator -> layout:decorate 로 변경된 듯 합니다.
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
layout:decorate="~{layouts/layout}">
<th:block layout:fragment="content">
<!-- Begin Page Content -->
<div class="container-fluid">
<h1>레이아웃을 사용해 페이지 구성하기!</h1>
</div>
</th:block>
</html>
OKKY 의 Dierslair님, k011215님 감사합니다.
https://okky.kr/article/1132029
728x90