Hi there!
I'm using Thymeleaf Layout Dialect in a Spring Boot project and noticed that the documentation recommends manually registering the dialect with:
@bean
public LayoutDialect layoutDialect() {
return new LayoutDialect();
}
However, in Spring Boot, this isn't necessary — the dialect is auto-registered when the dependency is added to pom.xml.
It would be helpful if the documentation clarified this distinction. Something like:
“If you're using Spring Boot, simply adding the dependency to your pom.xml is enough. The dialect will be auto-registered. The @bean declaration is only needed for manual configurations or non-Spring Boot projects.”
This would make things clearer for developers who are just getting started.
Thanks for the great work on this dialect — it's working perfectly in my project!