Recent Posts
Link
Archives
목록02. 프레임워크/thymeleaf (1)
킹다의 개발블로그

Spring boot 와 JSP 보다는 권장 템플릿 엔진인 타임리프를 적용해보기 1. application.yml 설정 spring: thymeleaf: enabled: true cache: false #개발시 새로고침하면 적용. prefix: classpath:templates/ suffix: .html check-template-location: true thymeleaf - enabled : 타임리프 사용 활성화 thymeleaf - cache : 서버를 재시작할 필요없이 새로 고침만으로 반영되게 할 수 있음 (캐시를 남기지 않음) 개발할 때는 false로 두고 운영 시에는 true로 설정 thymeleaf - prefix : html 폴더 classpath 경로 지정 thymeleaf - suff..
02. 프레임워크/thymeleaf
2021. 8. 30. 17:12