dev/spring JPA 활용 웹만들기
view 환경 설정
dev_0hoon
2023. 12. 30. 14:11
View 환경 설정
**thymeleaf 템플릿 엔진**
thymeleaf 공식 사이트: https://www.thymeleaf.org/
스프링 공식 튜토리얼: https://spring.io/guides/gs/serving-web-content/
스프링부트 메뉴얼: https://docs.spring.io/spring-boot/docs/2.1.6.RELEASE/reference/html/ boot-features-developing-web-applications.html#boot-features-spring-mvc-template-engines
스프링 부트 thymeleaf viewName 매핑 `resources:templates/` +{ViewName}+ `.html`
index는 static안에 만들면 컨트롤러 없이 자동으로 찾는다.