SpringBoot thymeleaf模板页面没提示,SpringBoot thymeleaf模板插件安装

SpringBoot thymeleaf模板插件安装html

SpringBoot thymeleaf模板Html页面没提示git

SpringBoot  thymeleaf模板页面没提示github

SpringBoot thymeleaf插件下载eclipse

 

================================spa

©Copyright 蕃薯耀 2018年3月27日插件

http://www.cnblogs.com/fanshuyao/xml

 

附件下载地址见:http://fanshuyao.iteye.com/blog/2414401htm

 

1、 thymeleaf插件下载地址:blog

一、官网下载:ip

https://github.com/thymeleaf/thymeleaf-extras-eclipse-plugin/releases

 

二、附件下载:

thymeleaf-extras-eclipse-plugin-2.1.2.zip

 

2、 thymeleaf插件安装

一、进入eclise安装目录,找到dropins文件夹

二、在dropins文件夹新创建一个文件夹:thymeleaf-2.1.2

三、把thymeleaf-extras-eclipse-plugin-2.1.2.zip解压

四、把第3步解压的文件夹features、plugins复制到thymeleaf-2.1.2里面

五、重启eclise

 

3、Html页面添加xmlns声明:http://www.thymeleaf.org,以下:

Html代码   收藏代码
  1. xmlns:th="http://www.thymeleaf.org"  
Html代码   收藏代码
  1. <!DOCTYPE html>  
  2. <html xmlns:th="http://www.thymeleaf.org">  
  3. <head>  
  4. <meta charset="UTF-8">  

 

4、看效果:


 

 

================================

©Copyright 蕃薯耀 2018年3月27日

http://www.cnblogs.com/fanshuyao/

相关文章
相关标签/搜索