SpringBoot+thymeleaf不重启修改html

如何不重启程序修改html

烙印99
浏览 3038回答 2
2回答

慕妹3242003

如果使用的开发工具是 idea ,修改 html 后使用 Ctrl + Shift + F9.

翻过高山走不出你

spring.thymeleaf.cache 设为false或者使用springboot的devtools<dependency> &nbsp;&nbsp;&nbsp;&nbsp;<groupId>org.springframework.boot</groupId> &nbsp;&nbsp;&nbsp;&nbsp;<artifactId>spring-boot-devtools</artifactId> &nbsp;&nbsp;&nbsp;&nbsp;<version>1.3.0.RELEASE</version> &nbsp;</dependency>
打开App,查看更多内容
随时随地看视频慕课网APP