[springboot] Integrate thymeleaf for application development

insert image description here

1. Introduction to Thymeleaf

Thymeleaf is a server-side Java template engine capable of processing HTML, XML, CSS, JAVASCRIPT and other template files. Thymeleaf templates can be used directly as static prototypes, its main goal is to bring elegant natural templates to the developer's development workflow, and it is also ideal for Java server-side HTML5 development.

2. Preparations - IDEA Settings

Before starting to use ThymeLeaf as a template engine for page development, it is necessary for us to make some settings for IDEA. These settings help IDEA better recognize ThymeLeaf syntax and enhance our development experience.

  • Install the ThymeLeaf plug-in and make it effective (in most IDEA versions, the plug-in is installed and effective by default)

Guess you like

Origin blog.csdn.net/hanxiaotongtong/article/details/122892673