为了账号安全,请及时绑定邮箱和手机立即绑定

SpringBoot+thymeleaf不重启修改html

SpringBoot+thymeleaf不重启修改html

烙印99 2018-08-04 14:50:55
如何不重启程序修改html
查看完整描述

2 回答

?
慕妹3242003

TA贡献1824条经验 获得超6个赞

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

查看完整回答
1 反对 回复 2018-08-07
?
翻过高山走不出你

TA贡献1875条经验 获得超3个赞

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

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


查看完整回答
反对 回复 2018-08-07
  • 2 回答
  • 0 关注
  • 3018 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信