https://www.thymeleaf.org/doc/articles/thymeleaf3migration.html
Thymeleaf 3 ten-minute migration guide - Thymeleaf
Thymeleaf 3 replaces the set of template modes from previous versions. The new template modes are: There are two markup template modes (HTML and XML), three textual template modes (TEXT, JAVASCRIPT and CSS) and a no-op template mode (RAW). The HTML templat
www.thymeleaf.org
thmleaf의 fragment 기능을 사용해서 중복 코드를 제거한다.
https://github.com/thymeleaf/thymeleaf/issues/451
[MAJOR FEAT] Fragment Expressions · Issue #451 · thymeleaf/thymeleaf
Building on the idea explained at #180, Thymeleaf 3.0 will introduce a new type of simple expressions for the Thymeleaf Standard Expression engine. These expressions are called Fragment Expressions...
github.com
th:fragment
//정의
th:insert
//삽입
th:replace
//교체
'Server Programming > Spring Boot Full-Stack Programming' 카테고리의 다른 글
[스프링 풀스택 클론 코딩 - 회원가입] (1-15) 첫 페이지 보완 (0) | 2022.08.30 |
---|---|
[스프링 풀스택 클론 코딩] npm 라이브러리를 이용한 아이콘 추가 / jdenticon을 이용한 이미지 생성 (0) | 2022.08.30 |
[스프링 풀스택 클론 코딩 - 회원가입] (1-14) 뷰 중복 코드 제거 (0) | 2022.08.29 |
[스프링 풀스택 클론 코딩 - 회원가입] (1-13) 프론트엔드 라이브러리 설정 (0) | 2022.08.29 |
[스프링 풀스택 클론 코딩] Node.js (npm) 연동 (0) | 2022.08.29 |