springboot +thymeleaf+myql 记录

thymeleaf官方文档: https://www.thymeleaf.org/doc/tutorials/3.0/usingthymeleaf.pdf

demo案例:https://github.com/shuoyangqu/demo/tree/master/SpringBootOss

说一下今天写demo过程中遇到的问题:

 script 引入js文件路径问题,我使用的是thymeleaf框架自带的,这使用的过程中遇到点小问题,我刚开始使用的是<script  .../>格式,结果页面调试发现自动补全,出现两个</head><body></body>,给改成</script>好了,原来只认以</script>格式。

 

 

 

posted @ 2018-10-23 18:46  小屈工作室  阅读(119)  评论(0编辑  收藏  举报