SpringBoot入门:新一代Java模板引擎Thymeleaf(实践)
菜鳥教程:http://www.runoob.com/
http://apps.bdimg.com/libs/angular.js/1.4.6/angular.min.js
http://apps.bdimg.com/libs/angular-route/1.3.13/angular-route.js
http://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js
http://cdn.bootcss.com/respond.js/1.4.2/respond.js
參考資料:
angular下載:https://github.com/angular/angular.js/releases?
jquery下載:http://jquery.com/download/
jqueryui下載:http://jqueryui.com/download/
bootstrap下載:?http://getbootstrap.com/???
一、準備工作
1、html資源
http://blog.csdn.net/u012702547/article/details/53784992
從這一段源碼中我們可以看到默認的頁面后綴名為.html,前綴為classpath:/templates/,實際上也就是我們需要把html頁面放到resources文件夾下的templates文件夾中。同時我們也看到了要如何修改這個配置,在application.properties文件中以spring.thymeleaf為前綴來配置相關屬性。 ?
2、引入靜態資源
Bootstrap下載
jQuery下載?
3、404頁面
4、SpringMVC定制
5、自定義Favicon
?
二、準備工作
1、后臺代碼
2、前臺代碼
3、功能測試
?
轉載于:https://www.cnblogs.com/lexiaofei/p/7549921.html
總結
以上是生活随笔為你收集整理的SpringBoot入门:新一代Java模板引擎Thymeleaf(实践)的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: react——一个todolist的de
- 下一篇: 201621123009 《Java程序