zoukankan      html  css  js  c++  java
  • SpringBoot thymeleaf模板页面没提示,SpringBoot thymeleaf模板插件安装

     

    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代码  收藏代码
    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">  

    四、看效果:


  • 相关阅读:
    Golang string slice
    Golang 切片
    Golang 数组
    Golang随机数
    如何才能轻松地分析日志?
    Linux 环境下 gzip 的加解密命令
    谁掳走了 nginx.pid 文件?
    这个 'ip' 竟然把我搞蒙圈了……
    Mysql 连接路径 url 参数解析
    C# 接口生成工具Swagger用法
  • 原文地址:https://www.cnblogs.com/GH0522/p/9431182.html
Copyright © 2011-2022 走看看