Writing our First Template

Learn how to create a Thymeleaf template from scratch.

We'll cover the following

We’ll start by creating a new Spring Boot project. The code is given at the end of this lesson for reference.

The index.html file

Let’s add a new HTML page at src/main/resources/templates called index.html:

Get hands-on with 1200+ tech skills courses.