使用gulp热部署spring boot的thymeleaf静态文件

如果用了这里的说到的办法(Intellij IDEA Spring boot 静态文件自动加载热部署)还不能实现静态文件热部署,可以结合Gulp工具。使用 Gulp 工具主要是将 thymeleaf ...
2019-11-30 IDE 评论 0

Intellij IDEA Spring boot 静态文件自动加载热部署

使用 Intellij IDEA 开发 Spring boot,经常要编辑页面文件(html,js,css),每次编辑后,都要重新启动服务,比较繁琐,效率低。其实 Intellij IDEA 可以实现...
2019-11-29 IDE 评论 0
MIP.watch('startSearch', function (newVal, oldVal) { if(newVal) { var keyword = MIP.getData('keyword'); console.log(keyword); // 替换当前历史记录,新增 MIP.viewer.open('/s/' + keyword, {replace: true}); setTimeout(function () { MIP.setData({startSearch: false}) }, 1000); } }); MIP.watch('goHome', function (newVal, oldVal) { MIP.viewer.open('/', {replace: false}); });