java - SpringBoot+thymeleaf不重启修改html
巴扎黑
巴扎黑 2017-04-17 17:42:53
0
3
587

如何不重启程序修改html

巴扎黑
巴扎黑

Antworte allen(3)
洪涛

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

刘奇

spring.thymeleaf.cache 设为false
或者使用springboot的devtools

<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-devtools</artifactId>
    <version>1.3.0.RELEASE</version>
</dependency>
刘奇

spring.thymeleaf.cache=false

Neueste Downloads
Mehr>
Web-Effekte
Quellcode der Website
Website-Materialien
Frontend-Vorlage