Press "Enter" to skip to content

Spring Boot Thymeleaf Fragments and conditional Fragments



This time we create a navigation bar in the top of the templates.
We make it reusable through placing the html in fragments!
We also add a conditional fragment in the bottom.
Enjoy! 🙂
Feel free to leave a comment or question as usual. I really enjoy reading what you think of programming in general. 🙂
Link to the code:
https://github.com/ekim197711/springboot-thymeleaf
Follow me on twitter:

Support me on Patreon:
https://www.patreon.com/mikemoellernielsen

Leave a Reply

avatar
  Subscribe  
Notify of