thymeleaf
![[Spring Boot] Thymeleaf 사용하기](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FMP8yw%2Fbtru5dciK2E%2FFuq1hb9DpZxaQuee2bqzc1%2Fimg.png)
[Spring Boot] Thymeleaf 사용하기
안녕하세요. 개발자 Jindory입니다. 오늘은 Thymeleaf 사용법에 대해서 알아보고자 합니다. 1. Thymeleaf란 Thymeleaf는 서버측 View Template Engine입니다. 그리고 컨트롤러에서 전달받은 데이터를 이용해 동적인 페이지를 만들 수 있습니다. 태그의 속성으로 thymeleaf 명령어를 사용할 수 있으며 html 파일 내에서 사용이 가능합니다. 2. Thymeleaf 적용 1) Thymeleaf 설정 Thymeleaf는 maven과 gradle에서 각각 아래와 같이 추가하여 설정할 수 있습니다. // maven org.springframework.boot spring-boot-starter-thymeleaf // gradle dependencies { // Thymele..
반응형