thymeleaf(2)
-
Thymeleaf 이용하여 레이아웃 만들기
실습환경 inetllij(인텔리제이) 실습하기 Thymeleaf 사용하여 공통적인 부분 통합하기 - common.html 작성 templates → fragments(폴더 만듬) → common.html 파일을 만듭니다. https://www.thymeleaf.org/doc/tutorials/3.0/usingthymeleaf.html#including-template-fragments 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 ..
2022.10.04 -
BootStrap 템플릿으로 간단한 레이아웃 만들기
실습환경 Intellij(인텔리제이), Spring Boot 실습하기 프로젝트 만들기 새 프로젝트를 만들고 Java 버전은 '8' 체크하고 다음(N) 클릭합니다. 의존성(Depency) Spring Boot DevTools : 향상된 개발경험을 느낄 수 있게 해줍니다. Lombok : Java기반 annotation 라이브러리를 사용하고, 편리하게 사용할 수 있게 해줍니다. Spring Web : RESTful 포함하고, MVC 모델 사용가능하며 가장 기본적인 웹 지원 어플리케이션입니다. Thymeleaf index.html 파일 만들기 layout 프로젝트의 src → main → templates → index.html 파일을 만듭니다. https://getbootstrap.com/docs/4.5/g..
2022.10.04