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,如下:
Html代碼

- xmlns:th="http://www.thymeleaf.org"

- <!DOCTYPE html>
- <html xmlns:th="http://www.thymeleaf.org">
- <head>
- <meta charset="UTF-8">
四、看效果:
歡迎大家一起說出自己的想法。