SpringBoot thymeleaf模板插件安裝
SpringBoot thymeleaf模板Html頁面沒提示
SpringBoot thymeleaf模板頁面沒提示
SpringBoot thymeleaf插件下載
================================
©Copyright 蕃薯耀 2018年3月27日
http://www.cnblogs.com/fanshuyao/
附件下載地址見:http://fanshuyao.iteye.com/blog/2414401
一、 thymeleaf插件下載地址:
1、官網下載:
https://github.com/thymeleaf/thymeleaf-extras-eclipse-plugin/releases
2、附件下載:
thymeleaf-extras-eclipse-plugin-2.1.2.zip
二、 thymeleaf插件安裝
1、進入eclise安裝目錄,找到dropins文件夾
2、在dropins文件夾新建立一個文件夾:thymeleaf-2.1.2
3、把thymeleaf-extras-eclipse-plugin-2.1.2.zip解壓
4、把第3步解壓的文件夾features、plugins復制到thymeleaf-2.1.2里面
5、重啟eclise
三、Html頁面添加xmlns聲明:http://www.thymeleaf.org,如下:
- xmlns:th="http://www.thymeleaf.org"
- <!DOCTYPE html>
- <html xmlns:th="http://www.thymeleaf.org">
- <head>
- <meta charset="UTF-8">
四、看效果:
(如果你覺得文章對你有幫助,歡迎捐贈,^_^,謝謝!)
================================
©Copyright 蕃薯耀 2018年3月27日
http://www.cnblogs.com/fanshuyao/